Skip to Content

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

  1. Go to Integrations
  2. Find PostHog and click Connect
  3. Enter your PostHog instance URL and an API key (create one in PostHog under Settings → Personal API keys)
  4. 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

CapabilityWhat it doesMakes changes?
Run queriesQuery your analytics dataYes*
Get persons and cohortsRead user and cohort dataNo
Get surveysRead survey definitions and resultsNo
List and read insightsBrowse existing insightsNo
Create insightsAdd new project insightsYes
Update insightsModify existing insightsYes

* 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.
Last updated on