Linking Retell AI as a source
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.

The Retell AI connector syncs your AI voice agent data into PostHog, including calls, chats, agents, contacts, test case definitions, batch tests, and test runs. Use it to join your Retell AI call data with product analytics to understand how voice interactions impact user behavior.
Adding a data source
- Go to the sources tab of the data pipeline section in PostHog.
- Click + New source and then click Link next to Retell AI.
- You need an API key from Retell AI. In your Retell AI dashboard, go to API Keys and create a new key or copy an existing one.
- Back in PostHog, paste the API key in the API key field and click Next.
- Select the tables you want to sync, set the sync method and frequency, then click Import.
Once the syncs are complete, you can start using Retell AI data in PostHog.
Available tables
| Table | Description | Sync method |
|---|---|---|
calls | Voice call records with status, analysis, latency, and costs | Incremental (by start_timestamp) |
agents | Unique voice and chat agents with names, channels, modification times, and tags | Full refresh |
chats | Chat records with status, timing, analysis, and costs | Incremental (by start_timestamp) |
phone_numbers | Phone numbers with telephony settings and inbound and outbound agent bindings | Full refresh |
voices | Available voices with providers and voice characteristics | Full refresh |
agent_versions | Stored versions of every voice and chat agent, with publish state and version lineage | Full refresh |
test_case_definitions | Simulation test case definitions for every Retell LLM and conversation flow, with prompts, metrics, and tool mocks | Full refresh |
contacts | Contacts that Retell agents call and text, with CRM IDs, tags, custom fields, and conversation counts | Full refresh |
batch_tests | Batch test jobs for every version of every Retell LLM and conversation flow, with pass, fail, and error counts | Full refresh |
test_runs | Individual test case runs of every batch test, with results, explanations, and transcript snapshots | Full refresh |
Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.
Sync behavior
The calls and chats tables support incremental sync by start_timestamp. Each sync fetches only records with a start_timestamp after the last sync.
Configuration and evaluation tables like agents, phone_numbers, voices, agent_versions, test_case_definitions, contacts, batch_tests, and test_runs use full refresh because they don't support time-based filtering in the Retell API.
For batch_tests, the connector walks every version of every Retell LLM and conversation flow to fetch test results for all engine versions, not just the latest. The test_runs table then fetches individual test runs for each batch test.
Configuration
| Option | Description |
|---|---|
API keyType: password Required: True | Create an API key in your Retell AI workspace settings with read access to the tables you want to sync. |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
calls | Voice call records with status, analysis, latency, and costs. The list endpoint omits transcripts and recording URLs. | Incremental, Full refresh | start_timestamp | — |
agents | Unique voice and chat agents with names, channels, modification times, and tags. | Full refresh | — | — |
chats | Chat records with status, timing, analysis, and costs. | Incremental, Full refresh | start_timestamp | — |
phone_numbers | Phone numbers with telephony settings and inbound and outbound agent bindings. | Full refresh | — | — |
voices | Available voices with providers and voice characteristics. | Full refresh | — | — |
agent_versions | Stored versions of every voice and chat agent, with publish state and version lineage. | Full refresh | — | — |
test_case_definitions | Simulation test case definitions for every Retell LLM and conversation flow, with prompts, metrics, and tool mocks. | Full refresh | — | — |
contacts | Contacts that Retell agents call and text, keyed by phone number, with CRM IDs, tags, custom fields, and conversation counts. | Full refresh | — | — |
batch_tests | Batch test jobs for every version of every Retell LLM and conversation flow, with pass, fail, and error counts. | Full refresh | — | — |
test_runs | Individual test case runs of every batch test, with results, explanations, and transcript snapshots. | Full refresh | — | — |





