PostHog is an open-source product analytics platform. Capture events, manage persons, query analytics data with HogQL, list cohorts and feature flags, and create annotations.

Changelog

2 versions
v1.0.1 Latest
  • MakeApiCall: Request Headers and Query Parameters set in the Designer are now sent. They were silently dropped: the key-value field stores its rows as a JSON object string, which the component did not parse.
v1.0.0
  • Initial release.

Authentication

TypeDetails
API Key
PostHog Host (text)
Base URL of your PostHog instance. US Cloud: https://us.posthog.com,
Personal API Key (text)
Generate a Personal API key in PostHog under Settings → User → Personal API Keys.

Triggers

2
New Action Event icon

New Action Event

Triggers when PostHog delivers a matched event to this component's webhook URL. Setup: start the flow, copy the webhook URL from the flow log, then in PostHog create a realtime destination (Data pipelines → Destinations → HTTP Webhook) pointing to that URL, optionally filtered by an action.
New Annotation icon

New Annotation

Triggers when a new annotation is created in a PostHog project.

Actions

11
Capture Event icon

Capture Event

Capture a single event in PostHog. The event is sent to the project's ingestion endpoint using the public Project API key.
Create Annotation icon

Create Annotation

Create an annotation in a PostHog project. Annotations mark important moments (releases, campaigns) on analytics charts.
Delete Person icon

Delete Person

Delete a person from a PostHog project by their person ID. This action is irreversible.
Find Persons icon

Find Persons

Search for persons in a PostHog project. Returns a maximum of 100 persons per call.
Get Person icon

Get Person

Retrieve a single person from a PostHog project by their person ID.
Identify User icon

Identify User

Identify a user in PostHog by sending an $identify event with person properties ($set).
List Cohorts icon

List Cohorts

List cohorts in a PostHog project. Returns a maximum of 100 cohorts per call.
List Projects icon

List Projects

List all PostHog projects the authenticated user has access to. Returns a maximum of 100 projects.
Make API Call icon

Make API Call

Perform an arbitrary authorized API call to the PostHog API.
Run Query icon

Run Query

Run a HogQL (SQL-like) query against a PostHog project's analytics data and return the result rows.
List Feature Flags icon

List Feature Flags

List feature flags in a PostHog project. Returns a maximum of 100 feature flags per call.