PostHog
Connect PostHog and your assistant can work with your product analytics — running queries, reading persons, cohorts, and surveys, and creating or updating insights.
What’s included
With PostHog connected, your assistant can:
- Query your data — create queries against your PostHog project
- Read your project — get persons, cohorts, and surveys
- Manage insights — list, read, create, and update project insights
Connecting PostHog
- Go to Integrations
- Find PostHog and click Connect
- Enter your PostHog instance URL and an API key (create one in PostHog under Settings → Personal API keys)
- Return to Town
Your assistant is limited to the projects your PostHog account can access. You can revoke access anytime from PostHog settings.
What your assistant can do
| Capability | What it does | Makes changes? |
|---|---|---|
| Run queries | Query your analytics data | Yes* |
| Get persons and cohorts | Read user and cohort data | No |
| Get surveys | Read survey definitions and results | No |
| List and read insights | Browse existing insights | No |
| Create insights | Add new project insights | Yes |
| Update insights | Modify existing insights | Yes |
* Running a query creates a query in your PostHog project, so Town treats it as a change and asks for approval by default.
Use cases
- Metric checks — “how did signups trend this week?”
- Insight upkeep — create or update an insight from a recurring question.
- Weekly reporting — routines that summarize key product metrics.
Good to know
- Insight changes are visible to your team — use approval-required tool settings in routines that create or update insights.
Related
- Integrations overview — How integrations give your assistant context
- Routines — Automate recurring reports
Last updated on
Town