
Flexmail
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 Flexmail to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Enter your Flexmail account ID and personal access token to pull your email marketing data into the PostHog Data warehouse.
You can create a personal access token under Settings → API → Personal access tokens in Flexmail. The token grants read access to your contacts, interests, custom fields, preferences, segments, sources, and opt-in forms.
Configuration
| Option | Type | Required |
|---|---|---|
Account ID | text | Yes |
Personal access token | password | Yes |
Linking Flexmail to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Flexmail
- 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 |
|---|---|---|---|---|
contacts | A contact in your Flexmail account, with their email address, name, language, and custom field values. | Full refresh | — | — |
custom_fields | A custom field configured for contacts in your Flexmail account (free text, multiple choice, numeric, or date). | Full refresh | — | — |
interests | An interest contacts can subscribe to, used to segment your audience by topic. | Full refresh | — | — |
opt_in_forms | An active opt-in form contacts can use to subscribe to your communications. | Full refresh | — | — |
preferences | A communication preference contacts can subscribe to, such as a newsletter. | Full refresh | — | — |
segments | An active segment: a saved set of conditions grouping contacts for targeting campaigns. | Full refresh | — | — |
sources | A source describing where contacts originated, such as a signup form or import. | Full refresh | — | — |