PostHog
Also an agent toolPostHog public API (management surface): manage projects, insights, dashboards and dashboard tiles, events (list/query via HogQL), persons, cohorts, feature flags (+ local evaluation), annotations, actions, experiments, session recordings, groups, surveys, property/event definitions, and batch exports. Bearer personal-API-key auth against a configurable region host (US Cloud https://us.posthog.com by default, EU Cloud https://eu.posthog.com, or a self-hosted URL). Most endpoints are scoped to a project via a {project_id} path parameter. The ingestion /capture endpoint (project API key in the body) is a different auth model and is intentionally excluded. Change notifications use polling (recent events via the HogQL /query endpoint or updated persons); PostHog webhooks/destinations are configured in-app and are not a Zervanor-verifiable signed feed, so no signed webhook trigger is shipped.
64 actions · 1 triggers
The PostHog integration lets you connect PostHog to your automations with 64 actions and 1 triggers — and every action is also a tool an AI agent can call. Examples: List Projects, Get Project, Update Project, List Insights, Create Insight. No blank-canvas wiring — connect it and use it in your workflows.
Every action below is also a tool an AI agent can call — the same pack powers your workflows and your agents.
Triggers 1
Events in PostHog that can start a workflow.
New PostHog events (polled)
Polls GET /api/projects/{project_id}/events/ on a schedule using an 'after' timestamp watermark; dedups on event id.
Actions 64
What Zervanor can do in PostHog.
List Projects
List the projects the personal API key can access (GET /api/projects/). Identity + connectivity probe.
Get Project
Get a single project by id (GET /api/projects/{project_id}/).
Update Project
Update a project's settings (PATCH /api/projects/{project_id}/).
List Insights
List saved insights in a project (GET /api/projects/{project_id}/insights/). Offset pagination.
Create Insight
Create a saved insight (POST /api/projects/{project_id}/insights/).
Get Insight
Get a saved insight by id (GET /api/projects/{project_id}/insights/{id}/).
Update Insight
Update a saved insight (PATCH /api/projects/{project_id}/insights/{id}/).
Delete Insight
Soft-delete a saved insight (PATCH /api/projects/{project_id}/insights/{id}/ with deleted=true).
List Dashboards
List dashboards in a project (GET /api/projects/{project_id}/dashboards/). Offset pagination.
Create Dashboard
Create a dashboard (POST /api/projects/{project_id}/dashboards/).
Get Dashboard
Get a dashboard by id, including its tiles (GET /api/projects/{project_id}/dashboards/{id}/).
Update Dashboard
Update a dashboard, including adding/removing tiles (PATCH /api/projects/{project_id}/dashboards/{id}/).
Delete Dashboard
Soft-delete a dashboard (PATCH /api/projects/{project_id}/dashboards/{id}/ with deleted=true).
List Events
List recent events in a project (GET /api/projects/{project_id}/events/). Supports after/before time filters and cursor pagination via the response 'next' URL.
Get Event
Get a single event by id (GET /api/projects/{project_id}/events/{id}/).
Run Query (HogQL)
Run a query against project data (POST /api/projects/{project_id}/query/). Supports HogQL and other node-based queries for ad-hoc event/person analysis.
List Persons
List persons in a project (GET /api/projects/{project_id}/persons/). Offset/cursor pagination.
Get Person
Get a person by id (GET /api/projects/{project_id}/persons/{id}/).
Update Person
Update a person's properties (PATCH /api/projects/{project_id}/persons/{id}/).
Delete Person
Delete a person and optionally their events (DELETE /api/projects/{project_id}/persons/{id}/).
Get Person Activity
Get a person's recent activity/events (GET /api/projects/{project_id}/persons/{id}/activity/).
List Cohorts
List cohorts in a project (GET /api/projects/{project_id}/cohorts/).
Create Cohort
Create a cohort (POST /api/projects/{project_id}/cohorts/).
Get Cohort
Get a cohort by id (GET /api/projects/{project_id}/cohorts/{id}/).
Update Cohort
Update a cohort (PATCH /api/projects/{project_id}/cohorts/{id}/).
Delete Cohort
Soft-delete a cohort (PATCH /api/projects/{project_id}/cohorts/{id}/ with deleted=true).
List Feature Flags
List feature flags in a project (GET /api/projects/{project_id}/feature_flags/).
Create Feature Flag
Create a feature flag (POST /api/projects/{project_id}/feature_flags/).
Get Feature Flag
Get a feature flag by id (GET /api/projects/{project_id}/feature_flags/{id}/).
Update Feature Flag
Update a feature flag (PATCH /api/projects/{project_id}/feature_flags/{id}/).
Delete Feature Flag
Soft-delete a feature flag (PATCH /api/projects/{project_id}/feature_flags/{id}/ with deleted=true).
Get Feature Flags (Local Evaluation)
Get all feature-flag definitions for local evaluation (GET /api/projects/{project_id}/feature_flags/local_evaluation/). Returns flags plus cohorts/group-type mapping for evaluating flags without per-call requests.
List Annotations
List annotations in a project (GET /api/projects/{project_id}/annotations/).
Create Annotation
Create an annotation (POST /api/projects/{project_id}/annotations/).
Get Annotation
Get an annotation by id (GET /api/projects/{project_id}/annotations/{id}/).
Update Annotation
Update an annotation (PATCH /api/projects/{project_id}/annotations/{id}/).
Delete Annotation
Soft-delete an annotation (PATCH /api/projects/{project_id}/annotations/{id}/ with deleted=true).
List Actions
List actions (defined event patterns) in a project (GET /api/projects/{project_id}/actions/).
Create Action
Create an action (POST /api/projects/{project_id}/actions/).
Get Action
Get an action by id (GET /api/projects/{project_id}/actions/{id}/).
Update Action
Update an action (PATCH /api/projects/{project_id}/actions/{id}/).
Delete Action
Soft-delete an action (PATCH /api/projects/{project_id}/actions/{id}/ with deleted=true).
List Experiments
List experiments (A/B tests) in a project (GET /api/projects/{project_id}/experiments/).
Create Experiment
Create an experiment (POST /api/projects/{project_id}/experiments/).
Get Experiment
Get an experiment by id (GET /api/projects/{project_id}/experiments/{id}/).
Update Experiment
Update an experiment (PATCH /api/projects/{project_id}/experiments/{id}/).
Delete Experiment
Delete an experiment (DELETE /api/projects/{project_id}/experiments/{id}/).
List Session Recordings
List session recordings in a project (GET /api/projects/{project_id}/session_recordings/).
Get Session Recording
Get a session recording's metadata by id (GET /api/projects/{project_id}/session_recordings/{id}/).
Delete Session Recording
Delete a session recording (DELETE /api/projects/{project_id}/session_recordings/{id}/).
List Groups
List groups of a given group type in a project (GET /api/projects/{project_id}/groups/).
Get Group
Get a single group by type index and key (GET /api/projects/{project_id}/groups/find/).
List Surveys
List surveys in a project (GET /api/projects/{project_id}/surveys/).
Create Survey
Create a survey (POST /api/projects/{project_id}/surveys/).
Get Survey
Get a survey by id (GET /api/projects/{project_id}/surveys/{id}/).
Update Survey
Update a survey, e.g. launch or stop it (PATCH /api/projects/{project_id}/surveys/{id}/).
Delete Survey
Soft-delete a survey (PATCH /api/projects/{project_id}/surveys/{id}/ with deleted=true).
List Property Definitions
List event property definitions in a project (GET /api/projects/{project_id}/property_definitions/).
List Event Definitions
List event definitions (known event names) in a project (GET /api/projects/{project_id}/event_definitions/).
List Person Property Definitions
List person property definitions in a project (GET /api/projects/{project_id}/property_definitions/ with type=person).
List Batch Exports
List batch export configurations in a project (GET /api/projects/{project_id}/batch_exports/).
Create Batch Export
Create a batch export (POST /api/projects/{project_id}/batch_exports/) to a destination such as S3, BigQuery, or Snowflake.
Get Batch Export
Get a batch export configuration by id (GET /api/projects/{project_id}/batch_exports/{id}/).
Delete Batch Export
Delete a batch export configuration (DELETE /api/projects/{project_id}/batch_exports/{id}/).
Nothing matches your search.
Automations using PostHog
Build your own automation with PostHog in the visual builder.
Frequently asked questions
What can I automate with PostHog?
64 actions are available — for example: List Projects, Get Project, Update Project, List Insights, Create Insight, and more.
Which PostHog events can start a workflow?
1 triggers — for example: New PostHog events (polled).
Can PostHog be used as an AI agent tool?
Yes. Every PostHog action automatically becomes a tool an AI agent can call — the same pack powers both your workflows and your agents.
How is the PostHog integration modelled?
PostHog is modelled as a versioned connector pack, and the steps that need reasoning fall to first-party agents hosted in the same runtime as the workflows.