Skip to main content
The PostHog node adds PostHog operations to your workflows. Add it on the canvas or ask the AI builder for it by name, then pick an operation and fill in its fields. PostHog also includes 15 trigger operations (marked in the tables below) that can start a workflow when something happens in PostHog.
You can wire the PostHog node into an AI agent as a tool provider: the agent calls the operations you allow. See Agent tools.

Credentials

Connect PostHog under Credentials in the node settings. See Connecting credentials for the general flow.

Personal API key

Enter the values manually when creating the credential. Get your credentials here.

Project API key

Enter the values manually when creating the credential. Get your credentials here.

OAuth

Sign in with your PostHog account when prompted; no keys to copy. Get your credentials here. NoClick requests the following permissions:
  • openid
  • email
  • project:read
  • organization:read
  • user:read
  • insight:read
  • insight:write
  • dashboard:read
  • dashboard:write
  • feature_flag:read
  • feature_flag:write
  • experiment:read
  • experiment:write
  • query:read
  • person:read
  • person:write
  • cohort:read
  • cohort:write
  • annotation:read
  • annotation:write
  • survey:read
  • survey:write
  • action:read
  • action:write
  • session_recording:read
  • session_recording:write
  • group:read
  • organization_member:read
  • organization_member:write
  • event_definition:read
  • property_definition:read
  • hog_function:read
  • hog_function:write
  • notebook:read
  • notebook:write
  • early_access_feature:read
  • early_access_feature:write
  • batch_export:read
  • activity_log:read

Operations

Actions

Advanced

Annotations

Batch exports

Cohorts

Dashboards

Definitions

Destinations

Early access

Events

Experiments

Feature flags

Groups

Ingestion

Insights

Notebooks

Organization

Persons

Query

Session replay

Surveys

Triggers