Skip to main content

PostHog

Product analytics platform for tracking user behavior, feature flags, experiments, and more.

Categories: Analytics, Product

What you can ask​

  • Show me the funnel conversion for signup to first_action over the last 30 days.
  • Find users who triggered feature_x_used more than 5 times in the last week.
  • Pull the top 10 events by volume yesterday.

Set up​

PostHog connects with credentials from your PostHog account. Have these values ready:

  • PostHog host (include https://)
  • Project ID
  • Personal API key
  1. Go to Organization > Connectors and find PostHog.
  2. Click Enable and choose which tools to allow.
  3. Each member enters their own values the first time they use it.

To use one account for the whole organization, turn on Share one connection with everyone. Every member's agents then act as that account, with exactly the access it has.

Tools​

PostHog offers 63 tools. Admins choose which ones agents can use. See Tool permission groups.

Read (32)​

View and search information without changing it.

ToolWhat it does
get_actionGet an action by ID.
get_annotationGet an annotation by ID.
get_batch_exportGet a batch export configuration by ID.
get_cohortGet a cohort by ID.
get_current_userGet the currently authenticated user's profile including email, name, organization, and team details.
get_dashboardGet a dashboard by ID with its tiles.
get_event_definitionGet an event definition by ID.
get_experimentGet an experiment by ID.
get_feature_flagGet a feature flag by ID.
get_insightGet an insight by ID.
get_personGet a person by ID with their properties and distinct IDs.
get_projectGet a specific project by ID.
get_property_definitionGet a property definition by ID.
get_session_recordingGet a session recording by ID.
get_surveyGet a survey by ID.
list_actionsList actions with pagination.
list_activity_logList activity log entries showing recent changes to the project (data management, events, properties, surveys, actions).
list_annotationsList annotations with pagination.
list_batch_exportsList batch export configurations with pagination.
list_cohortsList cohorts with pagination.
list_dashboardsList dashboards with pagination.
list_event_definitionsList event definitions with pagination.
list_experimentsList experiments with pagination.
list_feature_flagsList feature flags with pagination.
list_insightsList saved insights with pagination.
list_personsList persons with pagination.
list_projectsList all projects in the organization.
list_property_definitionsList property definitions with pagination.
list_session_recordingsList session recordings with pagination.
list_surveysList surveys with pagination.
run_queryExecute a HogQL query.
validate_credentialValidate PostHog credentials by fetching the current user profile.

Write (9)​

Create or send data.

ToolWhat it does
create_actionCreate a new action.
create_annotationCreate an annotation at a specific date.
create_batch_exportCreate a batch export to regularly export data to a destination (S3, BigQuery, Snowflake, etc.).
create_cohortCreate a new cohort.
create_dashboardCreate a new dashboard.
create_experimentCreate a new experiment.
create_feature_flagCreate a new feature flag.
create_insightCreate a new insight.
create_surveyCreate a new survey.

Delete or overwrite (22)​

Remove or replace existing data.

ToolWhat it does
delete_actionSoft-delete an action by marking it as deleted.
delete_annotationSoft-delete an annotation by marking it as deleted.
delete_batch_exportDelete a batch export configuration permanently.
delete_cohortSoft-delete a cohort by marking it as deleted.
delete_dashboardSoft-delete a dashboard by marking it as deleted.
delete_experimentSoft-delete an experiment by marking it as deleted.
delete_feature_flagSoft-delete a feature flag by marking it as deleted.
delete_insightSoft-delete an insight by marking it as deleted.
delete_personDelete a person and their data permanently.
delete_session_recordingDelete a session recording permanently.
delete_surveyDelete a survey permanently.
update_actionUpdate an action's name, description, or matching steps.
update_annotationUpdate an annotation's content, date, or scope.
update_cohortUpdate a cohort's name, description, or filter groups.
update_dashboardUpdate a dashboard's name, description, or pinned status.
update_event_definitionUpdate an event definition's description or tags.
update_experimentUpdate an experiment's name, description, parameters, or filters.
update_feature_flagUpdate a feature flag's key, name, active status, or filters.
update_insightUpdate an insight's name, description, filters, or query.
update_projectUpdate a project's name or timezone.
update_property_definitionUpdate a property definition's description, tags, or type.
update_surveyUpdate a survey's name, description, questions, or schedule.
⌘J