Twenty

Twenty

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.

Learn more
PostHog Wizard hedgehog

Connect Twenty to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your Twenty API key to pull your CRM data into the PostHog Data warehouse.

Generate an API key in Twenty under Settings > API & Webhooks > + Create key. Copy it immediately, it's only shown once.

Self-hosted users should set the instance URL to their own Twenty host (for example https://twenty.example.com). Leave it blank to use Twenty Cloud (https://api.twenty.com).

Configuration

OptionTypeRequired
API keypasswordYes
Instance URL (self-hosted only)textNo

Linking Twenty to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Twenty
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
companies

An organization tracked in the CRM, with people, opportunities, and notes attached.

Incremental, Full refreshupdatedAt, createdAt
people

A person tracked in the CRM, optionally linked to a company.

Incremental, Full refreshupdatedAt, createdAt
opportunities

A sales opportunity (deal) tracked through a pipeline stage.

Incremental, Full refreshupdatedAt, createdAt
notes

A free-text note, optionally attached to companies, people, or opportunities.

Incremental, Full refreshupdatedAt, createdAt
tasks

A to-do item, optionally attached to companies, people, or opportunities.

Incremental, Full refreshupdatedAt, createdAt
activities

An entry on a record's timeline (Twenty's timelineActivities object) — the audit trail of events such as record creation, updates, and relationship changes.

Incremental, Full refreshupdatedAt, createdAt