Prerequisites
- Organization Admin role in Kestrel
- PostHog account with API access
- PostHog API key (Personal API Key) and Project ID
Setup
Get your PostHog credentials
- In PostHog, go to Settings → Project → Project API Key and copy your Project ID
- Go to Settings → User → Personal API Keys and create a new key
- Copy the generated API key
How It’s Used
In Workflows
Trigger blocks:- Session Error/Exception — fires when PostHog captures an unhandled exception in a session
- Console Error — fires on console error patterns matching your filter
- Rage Click — fires when a user exhibits rage click behavior
- Any PostHog Event — fires on any PostHog event matching your configured criteria
- Log Error Alert — fires when PostHog log error patterns exceed your configured threshold
- Get Session Summary — retrieve an AI-generated summary of a user session
- Get Session Recording — fetch session recording details and metadata
- Query Events — run PostHog event queries with filters and date ranges
- List Session Recordings — list session recordings matching specified filters
- Get Error Issue — retrieve error group details and exception information
Disconnecting
- Navigate to Integrations → PostHog
- Click Disconnect
- Confirm the disconnection