Linking Genesys Cloud 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.

PostHog Wizard hedgehog

The Genesys Cloud connector syncs your contact center data – conversations, calls, participants, users, user status history, queues, queue members, quality evaluations, evaluation forms, presence definitions, flows, outbound campaigns, wrap-up codes, skills, divisions, teams, groups, external contacts, and external organizations – into PostHog, so you can analyze support and contact center activity alongside your product data.

Prerequisites

You need a Genesys Cloud account with admin access to create an OAuth client. The OAuth client must use the Client Credentials grant type and be assigned a role with the permissions listed below.

Adding a data source

  1. In PostHog, go to the Sources tab of the data pipeline section.
  2. Click + New source and click Link next to this source.
  3. Enter your credentials (see Configuration below) and click Next.
  4. Select the tables you want to sync, choose a sync method and frequency, then click Import.

Once the syncs are complete, you can start querying this data in PostHog.

When linking Genesys Cloud, you'll need:

  • Region – the Genesys Cloud region where your organization is hosted. Find this in your Genesys Cloud URL (for example, apps.mypurecloud.com for US East, apps.mypurecloud.ie for Dublin).
  • Client ID – the OAuth client ID from your Genesys Cloud integration.
  • Client secret – the OAuth client secret from your Genesys Cloud integration.

Creating an OAuth client in Genesys Cloud

  1. In Genesys Cloud, go to Admin > Integrations > OAuth.
  2. Click Add Client.
  3. Give the client a name (for example, "PostHog Data Sync").
  4. Under Grant Types, select Client Credentials.
  5. Under Roles, assign a role with the permissions your selected tables need (see the table below).
  6. Click Save and copy the Client ID and Client Secret.

Required permissions

Each table requires a specific permission. Assign these to the role used by your OAuth client:

TableRequired permission
conversations, calls, participantsanalytics:conversationDetail:view
user_status_historyanalytics:userDetail:view
queues, queue_membersrouting:queue:view
wrapup_codesrouting:wrapupCode:view
skillsrouting:skill:view
teamsgroups:team:view
external_contactsexternalContacts:contact:view
external_organizationsexternalContacts:externalOrganization:view
evaluationsquality:evaluation:view
evaluation_formsquality:evaluationForm:view
presence_definitionspresence:presenceDefinition:view
flowsarchitect:flow:view
outbound_campaignsoutbound:campaign:view
users, divisions, groupsNo specific permission required

Sync modes

Each table can be synced in one of several modes, depending on what the source supports:

  • Webhook (when available) – the source pushes changes to PostHog in real time. Fastest freshness, lowest ongoing cost, and the only mode that reliably captures updates and deletes.
  • Incremental – only new or updated rows are synced on each run, using a cursor field (such as an updated_at timestamp). Cheaper than a full refresh, but deletes aren't captured.
  • Append only – new rows are appended using a cursor field; existing rows are never updated. Ideal for immutable, append-only tables like event logs.
  • Full refresh – the whole table is reloaded on every sync. Use it when a table has no reliable cursor or when you need deletions reflected.

See sync methods for a full explanation of how each mode works and how to choose between them.

The following tables support incremental syncing:

  • conversations, calls, participants – use conversationStart as the replication key
  • user_status_history – uses startTime as the replication key

All other tables (users, queues, queue_members, wrapup_codes, skills, divisions, teams, groups, external_organizations, external_contacts, evaluations, evaluation_forms, flows, presence_definitions, outbound_campaigns) use full table refresh because the Genesys Cloud API doesn't support server-side time filtering for these endpoints.

Configuration

OptionTypeRequired
RegionselectYes
Client IDtextYes
Client secretpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
conversations

Genesys Cloud conversations across all media types (voice, chat, email, messaging, callbacks), from the analytics conversation details query.

Incremental, Full refreshconversationStart—
calls

Genesys Cloud voice conversations (phone calls), from the analytics conversation details query.

Incremental, Full refreshconversationStart—
participants

One row per participant in a Genesys Cloud conversation (customer, agent, IVR, ACD queue, and so on).

Incremental, Full refreshconversationStart—
users

Users (agents and other staff) in the Genesys Cloud organization, including inactive and deleted users.

Full refresh——
queues

ACD routing queues in the Genesys Cloud organization.

Full refresh——
wrapup_codes

Wrap-up codes agents assign at the end of a conversation to record its outcome.

Full refresh——
skills

ACD routing skills in the Genesys Cloud organization.

Full refresh——
divisions

Divisions (business units) that partition objects in the Genesys Cloud organization.

Full refresh——
external_organizations

External organizations (customer companies) stored in Genesys Cloud external contacts.

Full refresh——
external_contacts

External contacts (customer identities) stored in Genesys Cloud external contacts.

Full refresh——
teams

Teams of users in the Genesys Cloud organization.

Full refresh——
groups

Groups of users in the Genesys Cloud organization.

Full refresh——
user_status_history

Presence and ACD routing status history for users, one row per status record, from the user details query.

Incremental, Full refreshstartTime—
queue_members

Members of each routing queue, one row per queue and user.

Full refresh——
evaluations

Quality evaluations of agent interactions, read per evaluator, with answers and scores.

Full refresh——
evaluation_forms

Quality evaluation forms, with the published versions of each form.

Full refresh——
flows

Architect flows, such as inbound call (IVR), bot, in-queue and workflow flows.

Full refresh——
presence_definitions

Organization presence definitions, active and deactivated, such as Available, Busy and Break.

Full refresh——
outbound_campaigns

Outbound dialer campaigns and their settings.

Full refresh——

Troubleshooting

  • Connection fails with "rejected the client ID and secret" – Check that the OAuth client uses the Client Credentials grant type and belongs to the selected region. The client ID and secret are region-specific.
  • Sync fails with "403 Forbidden" – The OAuth client's role is missing a permission required by one of the selected tables. Add the permission to the role, or deselect the table.
  • Sync fails with "Unknown Genesys Cloud region" – Select the correct region for your Genesys Cloud organization, then reconnect.

If your sync is failing or data looks wrong, see the Data warehouse troubleshooting guide. If that doesn't help, contact support – we're happy to help.

Still have questions?

Was this page useful?