PostHog
Receive PostHog analytics events — survey responses and error tracking issues — in Dispatch and route them to Discord, Slack, Telegram, or any webhook destination.
Setup
- Go to Sources in your Dispatch project and click Add Source.
- Select PostHog from the integrations grid.
- Click Connect — you'll be redirected to PostHog to authorize Dispatch.
- After authorizing, you'll return to Dispatch and see a list of your PostHog projects.
- Select the project you want to receive events from.
- Choose the event types you want:
- Survey Response — triggered when a user submits a survey
- Issue Created — triggered when a new error tracking issue is created
- Issue Re-opened — triggered when a resolved issue is seen again
- Issue Spiking — triggered when error volume spikes on an existing issue
- Click Connect. Dispatch creates the necessary webhook destinations in your PostHog project automatically.
What Dispatch Creates in PostHog
For each selected event type, Dispatch creates a Hog Function (Data Pipelines → Destinations) in your PostHog project. All Hog Functions for the same project point to the same Dispatch endpoint, so events are unified in one event stream.
You can view and manage these under Data Pipelines → Destinations in your PostHog project.
Disconnecting
To disconnect a PostHog project, go to Sources, find the PostHog endpoint, and click Delete. Dispatch will remove the Hog Functions from your PostHog project automatically.
To revoke the OAuth connection entirely, click Disconnect in the Add Source dialog after selecting PostHog.
Event Types
| Event | PostHog event name | Description |
|---|---|---|
| Survey Response | survey sent | A user submitted a survey response |
| Issue Created | $error_tracking_issue_created | A new error group was first encountered |
| Issue Re-opened | $error_tracking_issue_reopened | A previously resolved error occurred again |
| Issue Spiking | $error_tracking_issue_spiking | Error volume spiking on an existing issue |