Skip to content

Zendesk

BUILDING Source · built and tested, not yet verified against production accounts. Contact us before relying on it.

PortPilot replicates tickets, users and satisfaction ratings from Zendesk Support. Tickets and users use Zendesk’s Incremental Export API, which is built for bulk sync: up to 1,000 records per request, and each sync resumes exactly where the previous one stopped.

FeatureSupportedNotes
Incremental sync Partly Tickets and users; satisfaction ratings are re-read every sync.
Captures deletes Partly Deleted tickets arrive with status deleted; other deletes aren't captured.
Custom fields Partly Custom ticket fields, inside custom_fields.
Table selection Yes Choose which tables to sync.
New columns added automatically Yes Columns that appear in the source are added to the destination table.
Re-sync Yes A full refresh re-reads every selected table.
  1. Use an admin account. Incremental exports need an admin; an agent only sees what their role allows. A dedicated admin user for integrations is easiest to audit.
  2. Enable token access and create an API token in Admin Center → Apps and integrations → APIs → Zendesk API. Copy the token; Zendesk shows it once.
  3. Note the email address of the account the token belongs to.

In the app, go to Connectors → New connector → Zendesk and click Test connection after filling in:

Field Required Default Description
subdomain Yes — Your Zendesk subdomain: the acme in acme.zendesk.com.
email Yes — Email of the admin the API token belongs to.
api_token Yes — Zendesk API token. Stored write-only in the data plane’s secret store.
start_date No all history YYYY-MM-DD. The first sync starts here.

How the tables relate. Each arrow points from a column to the table it references. Only key, reference and cursor columns are shown; the data dictionary below has the rest.

erDiagram
    users ||--o{ tickets : "requester_id"
    users ||--o{ tickets : "submitter_id"
    users ||--o{ tickets : "assignee_id"
    tickets ||--o{ satisfaction_ratings : "ticket_id"
    users ||--o{ satisfaction_ratings : "requester_id"
    users ||--o{ satisfaction_ratings : "assignee_id"
    tickets {
        integer id PK
        integer requester_id FK
        integer submitter_id FK
        integer assignee_id FK
        string updated_at "cursor"
    }
    users {
        integer id PK
        string updated_at "cursor"
    }
    satisfaction_ratings {
        integer id PK
        integer ticket_id FK
        integer requester_id FK
        integer assignee_id FK
    }

tickets

One row per ticket, including deleted ones.

Primary key
id
Replication
Incremental, on updated_at
ColumnTypeDescription
idPKintegerZendesk ID.
subjectstringSubject line.
descriptionstringFirst comment on the ticket.
statusstringnew, open, pending, hold, solved, closed or deleted.
prioritystringurgent, high, normal or low.
typestringproblem, incident, question or task.
requester_id→ users.idintegerUser who requested the ticket.
submitter_id→ users.idintegerUser who submitted it.
assignee_id→ users.idintegerAgent assigned to it.
organization_idintegerRequester's organization.
group_idintegerAssigned group.
tagsstringTags, as JSON text.
custom_fieldsstringCustom ticket fields as JSON text: [{id, value}].
viastringChannel the ticket came from, as JSON text.
created_atstring (datetime)When it was created.
updated_atcursorstring (datetime)When it last changed.

Main columns only. Other fields the source returns also land as columns.

users

One row per user: end users, agents and admins.

Primary key
id
Replication
Incremental, on updated_at
ColumnTypeDescription
idPKintegerZendesk ID.
namestringName.
emailstringPrimary email.
rolestringend-user, agent or admin.
organization_idintegerDefault organization.
activebooleanFalse if the user was deleted.
suspendedbooleanWhether the user is suspended.
time_zonestringUser's time zone.
created_atstring (datetime)When it was created.
updated_atcursorstring (datetime)When it last changed.

Main columns only. Other fields the source returns also land as columns.

satisfaction_ratings

One row per CSAT rating.

Primary key
id
Replication
Full table every sync
ColumnTypeDescription
idPKintegerZendesk ID.
ticket_id→ tickets.idintegerRated ticket.
requester_id→ users.idintegerUser who gave the rating.
assignee_id→ users.idintegerAgent assigned when rated.
group_idintegerGroup assigned when rated.
scorestringgood, bad, offered or unoffered.
commentstringRequester's comment.
created_atstring (datetime)When it was created.
updated_atstring (datetime)When it last changed.

Main columns only. Other fields the source returns also land as columns.

  • Lists and objects (tags, custom_fields, via, …) arrive as JSON text.
  • Organizations aren’t synced yet, so organization_id has no table to join to.
  • Tickets and users: the first sync exports everything from start_date (or the start of your account). Each later sync resumes from the export cursor the previous sync ended on and upserts on id.
  • Satisfaction ratings are re-read in full on every sync (100 per page) and upserted.
  • Deleted tickets are exported with status = "deleted" and updated in place, so you can filter them out downstream.
  • Rate limit: about 10 export requests per minute. Large first syncs take a while (roughly 10,000 records a minute). When Zendesk rate-limits, PortPilot waits as Zendesk asks; if it lasts, the run fails as rate_limited and retries on the next schedule. Zendesk’s High Volume API add-on raises the limit.
  • Not synced yet: organizations, ticket comments and audits, ticket metrics and custom objects.
  • Agent tokens see less. A token belonging to an agent rather than an admin can return a partial set of tickets and users, or fail on exports.
  • Recent changes can lag. Zendesk’s exports trail real time by about a minute, so a ticket updated just before a sync may arrive on the next one.