PostHog
The PostHog node lets your agents capture custom events and query product analytics data.
Connection Setup
Section titled “Connection Setup”PostHog requires two different keys for full functionality:
1. Personal API Key (for connection)
Section titled “1. Personal API Key (for connection)”When connecting PostHog via Settings → Integrations, Pipedream authenticates using a Personal API key. This key is used to access the PostHog REST API (fetching organizations, projects, and other account data).

- Go to PostHog → Settings → Personal API Keys
- Click Create personal API key
- Give it a descriptive name (e.g., “Spawnbase”)
- Select scopes carefully — PostHog personal API keys are scoped by default. You must explicitly grant the permissions Spawnbase needs:
organization:read— required to list organizationsproject:read— required to list projectsevent:read— required if using analytics query actionsevent:write— required if using the Capture Event action
- Copy the key — it starts with
phx_ - Use this key when connecting PostHog in Spawnbase
2. Project API Key (for event capture)
Section titled “2. Project API Key (for event capture)”Some PostHog actions (like Capture Event) require a Project API key as an input field. This is separate from the connection key above.
- Go to PostHog → Settings → Project API Key
- Copy the project API key — it starts with
phc_ - Paste it into the
projectApiKeyfield in the node configuration
Troubleshooting
Section titled “Troubleshooting”See Node Configuration Troubleshooting for common issues like empty dropdowns, failed option loading, and connection errors.