
n8n
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Connect n8n to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Connect your n8n instance to pull your workflow automation data into the PostHog Data warehouse.
Works with n8n Cloud and self-hosted instances. Enter your instance URL (e.g. https://myorg.app.n8n.cloud) and an API key created under Settings > n8n API.
Some tables (users, projects, variables) require an owner/admin key or an Enterprise plan; deselect them if your key can't access them.
Configuration
| Option | Type | Required |
|---|---|---|
Instance URL | text | Yes |
API key | password | Yes |
Linking n8n to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select n8n
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
workflows | Automation workflows defined in the n8n instance. | Full refresh | — | id |
executions | Individual runs of workflows, one row per execution. | Full refresh | — | id |
tags | Tags used to organize and group workflows. | Full refresh | — | id |
users | Users of the n8n instance. | Full refresh | — | id |
variables | Instance-level environment variables usable across workflows. | Full refresh | — | id |
projects | Projects that group workflows, credentials, and variables. | Full refresh | — | id |