
Loops
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 Loops to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your Loops API key to sync your campaigns, transactional emails, mailing lists and other account data into the PostHog Data warehouse.
You can generate an API key in your Loops account under Settings > API.
Note: the Loops API has no bulk contact export, so contacts can't be synced. Some tables (campaigns, themes, components) require the Content API to be enabled for your Loops team.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Linking Loops to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Loops
- 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 |
|---|---|---|---|---|
campaigns | A marketing campaign, including its status, schedule, audience, and group. | Full refresh | — | — |
campaign_groups | A campaign group used to organize related marketing campaigns. | Full refresh | — | — |
mailing_lists | A mailing list contacts can subscribe to. | Full refresh | — | — |
audience_segments | An audience segment with filter rules, used for campaign targeting. | Full refresh | — | — |
workflows | An automation workflow in the Loops account. | Full refresh | — | — |
transactional_emails | A transactional email, including its group and current draft and published messages. | Full refresh | — | — |
transactional_groups | A transactional group used to organize related transactional emails. | Full refresh | — | — |
contact_properties | A contact property (default or custom) defined in the Loops account. | Full refresh | — | — |
themes | An email theme with style attributes for authored email messages. | Full refresh | — | — |
components | A reusable email component available for use in LMX templates and authored email messages. | Full refresh | — | — |