The Scenario
A platform migration is scheduled for next month. Before the engineering manager signs off, she needs a complete record of all 40 existing PostHog feature flags — key, name, rollout percentage, active status, and filter conditions — in a single Excel workbook. Someone tried pulling this via the PostHog UI export last week. The export didn't include filter conditions, and pagination stopped at 25 flags. The remaining 15 are missing from the sheet.
The bad version:
- Click into each of the 40 flags in PostHog's UI, manually transcribe key, rollout, and filter JSON into a workbook row
- Reach flag 18 and realize PostHog shows both a global rollout and a group-level rollout — you've been copying the wrong one for the past eight flags
- Finish the workbook, share it, get a reply that flag 34 is missing and three keys differ from what's referenced in the codebase
Manual transcription from a paginated UI is not a complete audit. It's a best guess.
The Easy Way: One Prompt in SheetXAI
SheetXAI is an AI agent inside your Excel workbook. It calls PostHog's feature flags list endpoint — handling pagination — and writes every flag's details into your workbook in one operation.
List all feature flags in our PostHog project and write flag key, name, type, rollout percentage, and active status into columns A through E.
What You Get
- Every flag in the project appears as a row — no pagination cutoff
- Columns A through E contain key, name, type, rollout percentage, and active status exactly as PostHog stores them
- No manual transcription, no missing flags from page 2 of the UI
What If the Data Is Not Quite Ready
You need to flag suspicious configurations
Fetch all PostHog feature flags and write flag key, name, active status, and rollout percentage into columns A through D. In column E, write "Needs Review" for any flag where rollout is 0% but active status is true, and for any flag where active status is false but rollout is above 0%.
You want filter conditions included
List all PostHog feature flags and write flag key, name, rollout percentage, active status, and the full filter group JSON into columns A through E of the "Flag Audit" worksheet.
You want to compare against codebase references
Fetch all PostHog feature flag keys and write them into column A. In the "Codebase Keys" worksheet I have referenced flag keys in column A. Identify any PostHog flag keys missing from the codebase list and mark them "Orphaned" in column B. Mark any codebase keys not in PostHog as "Undefined" in column C.
Full audit with anomaly tagging in one pass
Fetch all PostHog feature flags. Write flag key, name, type, active status, rollout percentage, created date, and filter conditions into columns A through G of the "Flag Audit" worksheet. In column H, write "Needs Review" for: active but 0% rollout, inactive but non-zero rollout, or filter conditions that include a property named 'beta_only' with value false. Write a summary of all Needs Review flags below the data.
Every field, every flag, every anomaly — one prompt.
Try It
Get the 7-day free trial of SheetXAI and open a blank Excel workbook, ask it to pull all your PostHog feature flags, and have the audit baseline in under a minute. Related: Bulk Create PostHog Feature Flags From an Excel workbook Definition and the PostHog hub.
