PostHog
Sync survey responses from PostHog, and let Deck Intelligence read your product analytics
PostHog Integration
Connect PostHog to automatically analyze product survey responses for customer insights. Separately, you can connect PostHog as a plugin so Deck Intelligence can answer questions with your product analytics. See Product Analytics in Deck Intelligence.
What Gets Synced
When you connect PostHog to Deck, we sync:
- Surveys - Survey configurations, questions, and question types
- Responses - Individual user responses to your PostHog surveys
- Free-text answers - Open-ended survey responses are analyzed by AI to extract structured insights
- Structured data - Ratings, NPS scores, multiple choice, and other structured responses
Setting Up the Integration
- Navigate to Settings → Integrations
- Find PostHog in the available integrations
- Click Connect and authorize Deck to access your PostHog project
- Choose which surveys to sync
If your workspace still contains onboarding sample data, Deck removes that sample data before the first PostHog sync imports real survey responses. If cleanup cannot finish, the sync is stopped and can be retried so sample feedback is not mixed with real customer data.
How It Works
Once connected, Deck:
- Retrieves survey responses from your PostHog project
- Maps question types - Automatically identifies free-text, ratings, NPS, single/multiple choice, and other question types
- Analyzes free-text feedback - Uses AI to extract structured insights, sentiment, and themes from open-ended responses
- Processes structured responses - Captures ratings, selections, and numeric data as queryable insights without adding survey-only question dimensions to your global theme library
- Links to contacts and accounts - Matches responses to unified contacts and customer accounts when email or PostHog identity data is available
- Detects NPS responses - Automatically identifies and processes NPS questions for score tracking
Use Cases
- In-app feedback - Analyze feedback collected within your product
- Feature satisfaction - Understand how users feel about specific features
- NPS tracking - Automatically process NPS survey responses
- User research - Capture insights from product surveys
- Beta feedback - Gather feedback during feature rollouts
AI-Powered Survey Analysis
Free-Text Analysis
Open-ended survey questions are automatically analyzed to extract actionable insights:
- Insight extraction - AI identifies meaningful feedback from free-text responses
- Sentiment analysis - Each response is classified as positive, negative, or neutral
- Theme assignment - Responses are automatically tagged with relevant themes
- Category detection - Feedback is categorized (pain points, feature requests, usability issues, etc.)
- Quote preservation - Original verbatim quotes are preserved for context
The AI skips non-actionable responses (e.g., "N/A", "good", "no comment") and focuses on substantive feedback containing 10+ meaningful words.
When AI creates a new theme from PostHog feedback, Deck validates the theme description first so placeholder or generic descriptions are repaired before the theme is saved.
Structured Data Processing
Non-text question types are processed as structured insights:
- Rating scales - Numeric ratings (1-5, 1-10, etc.)
- NPS scores - 0-10 likelihood-to-recommend scores
- Single/multiple choice - Selected options captured as structured data
- Yes/no questions - Boolean responses
- CSAT & CES scores - Customer satisfaction and effort scores
Automatic NPS Detection
Deck automatically detects and processes NPS questions in your PostHog surveys using two methods:
- Explicit NPS Question Type - Surveys with question type "NPS" (0-10 scale) are automatically recognized
- Smart Pattern Recognition - For rating-scale questions, Deck analyzes the survey name and question text to identify NPS patterns (e.g., "How likely are you to recommend...", "Net Promoter Score", "NPS Survey")
When an NPS question is detected, Deck:
- Captures the 0-10 score and classifies respondents as Promoters (9-10), Passives (7-8), or Detractors (0-6)
- Extracts any follow-up text responses for AI analysis
- Generates concise AI-written insight titles for analyzed NPS feedback
- Automatically creates entries in your NPS Score dashboard
- Links feedback to themes and generates insights
Score-Only vs. Score + Feedback:
- With follow-up text - The score and feedback are analyzed by AI to extract themes, sentiment, and insights
- Score-only - The numeric score is recorded deterministically without LLM processing (more efficient for large volumes)
This automatic detection means you don't need to configure anything - just connect PostHog and sync your surveys. Deck will identify and process NPS questions automatically.
Managing the Integration
Settings Page
Manage your PostHog integration in Settings → Integrations → PostHog:
- View connection status
- Select which surveys to sync
- Choose the sync frequency or run Sync Now
- View imported response count
- Disconnect the integration
Per-Survey Segment Assignment
You can assign a customer segment to each synced survey so all responses from that survey are automatically classified under that segment. In the survey table, click the Segment cell for any survey and choose from your existing segments.
This is useful when different surveys target different customer groups — for example, assigning "Enterprise" to a survey sent only to enterprise accounts.
PostHog Management Page
Access detailed survey management at Manage → PostHog (/manage/posthog):
- View all synced surveys - See all surveys you've imported from PostHog
- Import prevention - Previously imported surveys are clearly marked and cannot be re-imported to prevent duplicates
- Response counts - Track how many responses have been synced for each survey
- Last sync time - See when each survey was last updated
- Survey insights - View AI-extracted insights from free-text responses in a clean, scannable table
- Expandable insights - Click on any insight to reveal supporting quotes inline without leaving the page
- Individual responses - Browse and search through survey responses by respondent, date, or question
- Theme analysis - See which themes emerge from survey feedback
- Question breakdown - View responses organized by question with sentiment and category analysis
Insights Table Features
The PostHog insights table provides a comprehensive view of AI-extracted insights:
- Insight Name - The main insight extracted from survey responses
- Themes - Automatically tagged themes associated with the insight
- Sentiment - Visual badge showing positive, negative, or neutral sentiment
- Category - Feedback categorization (e.g., Pain Points, Feature Requests, Usability Issues)
- Expandable Quotes - Click any row to reveal the full verbatim quote that supports the insight
- Quick Links - Jump to the full insight detail page to see connections to other feedback sources
Automatic Sync
Deck syncs new PostHog survey responses automatically once a day:
- Go to Settings → Integrations → PostHog
- Under Sync Frequency, choose Hourly or Daily to keep the daily sync on, or Manual to turn it off. Hourly currently runs on the same once-a-day schedule as Daily
- Click Sync Now at any time to sync on demand
- New responses will be automatically imported and analyzed
Product Analytics in Deck Intelligence
Apart from survey sync, PostHog is a plugin so Deck Intelligence can read your product analytics: events, funnels, trends, paths, retention, and anonymous journeys. It is a separate connection. It doesn't change the survey integration above, and you can use either one or both.
PostHog connects like any other plugin. An admin can connect it for the Team, and anyone can connect it for themselves (Only you):
- The Team connection is the one Deck's analytics features use when there is one: analytics answers for everyone in your organization, saved metrics, and the analytics map.
- An Only you connection works in your own chats and agents. When there is no Team connection, Deck also uses it for your analytics answers, the metrics you save, and the analytics map you run. Deck never reads through another person's Only you connection, so a metric saved on your Only you connection can be run only by you.
PostHog has one kind of connection. Once an admin connects PostHog for the Team, nobody can add an Only you connection. An Only you connection made earlier stays on PostHog's page, marked as not used, and you can disconnect it there.
With either connection, Deck Intelligence and agents can also use PostHog's general tools. Those tools are not covered by the limits in Privacy for Analytics below.
PostHog analytics is connected from the Plugins tab in Settings → Integrations. It is part of connectors in Deck Intelligence, which are rolling out gradually and may not be available in every workspace.
Connecting PostHog Analytics
Only organization admins can connect, change, or disconnect the Team connection and choose its project. Any member can connect PostHog for themselves and choose their own project, unless an admin turned off app connections for members or PostHog is already connected for the Team.
To connect PostHog, ask Deck Intelligence to connect PostHog. An admin gets a card in the chat to connect it for the team. A member gets the same card to connect it for themselves, when the team has not connected it:
- Choose Connect.
- Enter your PostHog subdomain (the region of your PostHog Cloud account, for example
usoreu) and a PostHog personal API key. Use a key limited to the one project Deck should read, with read-only access. - In the setup form, enter the Project ID: the number after
/project/in your PostHog URL. - Choose Check and save. Deck checks that the key can read that project before it saves.
You can also connect on PostHog's page (Settings → Integrations, Plugins tab, PostHog): admins choose Team or Only you, then Connect. Choose the project in the Analytics project section there (an admin for the Team connection, you for your own Only you connection), or in the chat card with Change setup.
To disconnect, choose Disconnect on PostHog's page. Deck keeps the project choice, so connecting again restores it. The saved metrics stay in the list, and the ones saved on that connection can't be run until it is connected again. If PostHog shows that it rejected the connection, or that the person who connected it left the organization, choose Reconnect there.
Controlling What Deck Can Do
PostHog's page has Tool permissions, set by the person who connected it:
- Read-only tools: Always allow or Blocked.
- Write/delete tools: Always allow, Needs approval (the default), or Blocked.
Setting the connection's read-only tools to Blocked also stops Deck's own analytics reading: analytics answers, running saved metrics, and the analytics map. The same happens when an admin blocks PostHog for the workspace in the plugin settings. The list of saved metrics stays visible.
What You Can Ask
- "Where do people drop off between signup and creating their first project?"
- "How has weekly use of exports changed over the last 90 days?"
- "What do people do after they open the pricing page?"
- "Show me journeys of people who started onboarding but didn't finish it."
Deck checks your event names before it uses one, then runs the funnel, trend, path, retention, lifecycle, or stickiness query that fits, and gives a people count for each finding. Each answer cites the query it ran, such as "PostHog · Onboarding Started to Onboarding Job Completed, last 30 days".
Anyone in the organization can save those queries as metrics in chat, or ask Deck to map our analytics so it names sign-up, activation, and paying from your events. Saving a metric is immediate. There is no approval step. The analytics map runs only when you ask for it; connecting PostHog does not start it.
Deck stores no metric values. Each time you ask for a saved metric, Deck reads the number live from PostHog.
PostHog does not add pages, page views, or event counts to Deck's product map. Ask an analytics question to see which pages people use most.
Privacy for Analytics
- Deck's analytics answers, saved metrics, and analytics map show what people do, never who they are. They won't list people, emails, names, or user IDs, refuse to filter or group by personal properties, and remove personal-looking values from results.
- Journeys are a random sample of up to 25 people, shown as codes such as P1 and P2 that change every time.
- Page URLs are reduced to host and path. Query strings are dropped.
- Deck keeps no list of your events. It reads your event names from PostHog when you ask, without any information about people.
- Each question covers up to one year of data, and journey samples up to 90 days.
- PostHog's general tools in chat and agents are not limited in these ways. They can return whatever the API key you connected can read, including people. Use a key with the narrowest access you need, set Tool permissions, or block the plugin if you don't want that.
Privacy and Security
Deck uses PostHog's secure API for data access. We only analyze survey responses you authorize and process them solely for insight generation.