Setup takes about 15 minutes. You need a Zendesk admin role on both sides — your OpenCX organization and your Zendesk account.
Before you start
Zendesk plan with API access
Zendesk plan with API access
Suite Team or higher, or Support Professional. Suite Growth and above is recommended so you can use for webhook delivery.
Admin access in Zendesk
Admin access in Zendesk
OAuth requires an agent or admin who can authorize the OpenCX global OAuth client. You also need permission to create a webhook and trigger in Zendesk Admin Center. Legacy setup additionally requires permission to generate an API token.
Owner or admin in OpenCX
Owner or admin in OpenCX
Required to save integration settings in Settings → Add-ons.
Choose authorization
Open Settings → Add-ons, select Zendesk → Ticketing, then choose:- OAuth — recommended: authorize OpenCX in Zendesk. No API token is stored or rotated.
- Legacy credentials: enter an admin email and API token. Existing installations continue to work and can switch to OAuth without losing their legacy fallback until it is removed.
OAuth setup (recommended)
1
Choose Ticketing OAuth
In OpenCX, open Settings → Add-ons → Zendesk → Ticketing → OAuth.
2
Enter your Zendesk subdomain
Enter only the
acme part of acme.zendesk.com, then click Continue to Zendesk. Do not include https:// or .zendesk.com.3
Authorize OpenCX
Sign in to the matching Zendesk account, review the requested Support API access, and click Allow. Zendesk returns you to OpenCX, which verifies the account and displays Connected.
4
Register the reply webhook and trigger
Back in the OAuth panel, copy the signed Reply webhook URL and open its trigger instructions. In Zendesk, create a OAuth authenticates OpenCX’s calls to Zendesk; the trigger is still required for Zendesk to deliver public agent replies back to OpenCX.
POST JSON webhook with no additional authentication, then create a trigger with:- Meet ANY: Ticket is Created; Ticket is Updated.
- Meet ALL: Comment is Present (public).
- Action: Notify active webhook using the OpenCX webhook.
- JSON body:
5
Verify end to end
Escalate a test email, confirm the Zendesk ticket has the
opencx tag, then post a public agent reply. The reply should appear on the matching OpenCX session. Internal notes must remain private.Legacy API token setup
1
Generate a Zendesk API token
In Zendesk, open Admin Center → Apps and integrations → APIs → Zendesk API → API Tokens → Add API token.
- Toggle Token access on.
- Click Add API token.
- Label it
OpenCX(or anything recognizable). - Copy the token immediately — Zendesk hides it after you close the dialog.
2
Open Zendesk Ticketing in OpenCX
In OpenCX, go to Settings → Add-ons, find Zendesk, and click Zendesk Ticketing.
3
Enter your credentials
Click Test & Save. OpenCX hits the Zendesk API with your credentials before persisting — a wrong subdomain or token returns an error and nothing saves.
4
Copy your webhook URL
After saving, OpenCX displays a Webhook URL unique to your organization. Keep this tab open — you’ll paste it into Zendesk next.
5
Register the webhook in Zendesk
In Zendesk, follow Zendesk’s guide to creating a webhook to open Admin Center → Apps and integrations → Webhooks, then click Create webhook → Trigger or automation.
Save the webhook.
6
Create the trigger that fires the webhook
Follow Zendesk’s guide to creating a trigger to open Admin Center → Objects and rules → Triggers and click Create trigger.Configure:Click Create trigger and save.
- Trigger name:
OpenCX webhook(or anything recognizable). - Category: pick an existing category such as
Notifications, or create a new one (e.g.OpenCX). - Conditions → Meet ANY of:
Ticket → Is → Created;Ticket → Is → Updated. - Conditions → Meet ALL of:
Comment → Is → Present (public).
- Actions → Notify by → Active webhook, then select
OpenCXfrom the dropdown. - JSON body — paste exactly:
7
Verify end to end
Send a test email to an address you have connected to OpenCX email handoff. Escalate the conversation. Within a few seconds:If any step fails, jump to Troubleshooting.
- A ticket appears in Zendesk, tagged
opencx. - Reply publicly from Zendesk.
- The reply appears as an agent message on the matching session in your OpenCX Inbox.
Every OpenCX ticket is traceable back to its session. The session UUID is written to the ticket’s
external_id, and the first comment includes a View session in OpenCX link that opens the full AI reasoning, tool calls, and transcript in your inbox. Filter Zendesk views by external_id or any opencx_* tag described below.Sync team assignments with Zendesk groups
In Settings → Teams, click Sync from Zendesk to load your groups if you have not synced them yet. Manage a support team and select its Zendesk Group. The mapping moves linked OpenCX sessions into this team when their Zendesk ticket’s group changes. Use Channels to limit the mapping; an empty selection applies to all channels. Teams sharing a Zendesk group must select different channels. To also send team changes from OpenCX to Zendesk, enable Sync team changes to Zendesk and save. This requires permission to edit integrations. The toggle is off by default, including for existing mappings. With it on, manual assignments, workflow assignments, and automatic routing into this team update the linked Zendesk ticket’s group for the selected channels. Changing or removing the selected Zendesk group turns the toggle off; enable it again for the new group if needed. Editing only the channels preserves the toggle. Turning the toggle off stops future outbound group updates and keeps inbound Zendesk group syncing active. Saving a mapping does not move existing sessions. When a session first links to a Zendesk ticket, the Zendesk group still determines the OpenCX team. Moving a session to an unmapped team, removing its team, or using an excluded channel leaves the Zendesk group unchanged. Individual assignee syncing remains a separate setting. OpenCX saves assignments without waiting for Zendesk. Each group update is attempted once; failed updates are not retried automatically. Recent confirmations of an older OpenCX change are ignored while a newer change is being sent or when Zendesk has already moved to another group. If you then move the session to a team that does not send group updates, OpenCX keeps that local team when the recently sent group comes back from Zendesk during the two-minute protection window. This can also ignore a genuine Zendesk move back to that same group during the window. Changes to other Zendesk groups and initial linking continue to sync normally; after the window ends, new changes to the previously sent group sync normally too. Rapid or simultaneous changes can arrive out of order, so the two systems may remain different until another assignment change.How handoff lands in Zendesk
When triggers, OpenCX does the following in Zendesk:- Looks up the contact by email. If not found, creates a Zendesk user with the contact’s email and name.
- Creates a ticket with the session ID as , the conversation summary as the description, and the full transcript appended as the first comment.
- Applies tags (see Tags OpenCX applies below) so your views and triggers can filter by mode, channel, sentiment, and language.
- Auto-fills any custom fields you’ve mapped (see AI Fields below).
- Assigns to your Default Agent ID if configured; otherwise leaves unassigned for Zendesk routing to handle.
- Adds a private Handoff Summary note with the AI’s summary, the session’s language and sentiment, and a View session in OpenCX link, unless you turn it off.
The session is linked to the ticket by
external_id. If the same contact re-engages before the ticket is closed, OpenCX appends to the existing ticket instead of opening a new one.Create a ticket only on handoff
To hold off on the Zendesk ticket until the AI hands off, turn on Ticket only on handoff at Settings → Ticketing → Zendesk handoff. It is off by default.With this on, tickets created at handoff are assigned to the Default group you pick in the same section (if set) rather than the Default Agent ID — the individual-agent assignment in step 5 above applies only to the standard, ticket-created-early flow.
Web chat sessions
Two switches keep web chat out of Zendesk, both at Settings → Ticketing and off by default:- No web chat tickets (under Zendesk ticket sync): web sessions never create Zendesk tickets.
- Keep web handoffs here (under Zendesk handoff): web handoffs stay in the OpenCX inbox instead of going to Zendesk.
Create tickets for email sessions
Email sessions only produce a ticket at handoff unless you turn this on. Enable Create email tickets at Settings → Ticketing. This works with OAuth and legacy connections and requires permission to edit integrations. New incoming email sessions can then create a Zendesk ticket from the customer’s first message, with later messages kept on the same ticket. The customer’s first email and later email replies become internal notes on the Zendesk ticket, whether Assist Mode is on or off. This prevents public-comment notifications from emailing customers a copy of their own replies. The customer remains the requester, and the email subject and receiving inbox tag are preserved. Your team’s replies continue to follow the existing message-syncing behavior.This setting does not change who sends the reply to the customer — that stays governed by the outbound strategy on the connected inbox. If OpenCX sends the reply, the ticket receives it as an internal note so the customer is never emailed twice.
Turn off the handoff summary note
If your team writes its own handoff note, for example from a workflow, turn off Handoff summary note at Settings → Ticketing → Zendesk handoff. It is on by default, applies to chat handoffs and transferred calls, works with OAuth and legacy connections, and requires permission to edit integrations. With it off, handoffs work the same: the ticket is still tagged and reopened, and a chat handoff still releases it from the AI agent, just without the note.Rep replies sync back
When a rep posts a public reply in Zendesk, the webhook fires and OpenCX:- Matches the ticket to the original session using
external_id. - Sends the reply to the contact on the original channel — email, SMS, WhatsApp, web widget, etc.
- Marks the session as having an active human agent so the AI stops auto-responding.
Email requester and Cc synchronization
For enabled workspaces, changing To or Cc in an OpenCX email reply updates the linked Zendesk ticket when the reply is sent. Requester and email Cc changes made in Zendesk also update OpenCX without requiring a comment. The existing assignment, status and delivery settings continue to apply. Turn on Edit To and Cc in Settings → Ticketing → Email sessions in Zendesk. This requires permission to manage integrations and verifies your Zendesk connection before enabling edits. It is separate from Create email tickets. Turning it off stops new edits in OpenCX while changes from Zendesk and pending replies continue to sync. After reconnecting Zendesk, turn it on again. See Zendesk email recipients for supported sessions, system events, AI behavior and recovery. A closed Zendesk ticket does not prevent an inbox configured for direct delivery from changing To or Cc and sending emails. Recipient changes remain in OpenCX; the closed Zendesk ticket retains its previous recipients. OpenCX skips the private copy that the closed ticket cannot accept. Replies configured for delivery through Zendesk remain blocked on closed tickets.AI Fields
Map Zendesk to AI-generated values so triage, routing, and reporting work on day one. Configure at Settings → Ticketing under Auto fill Zendesk fields.1
Pick a Zendesk field
OpenCX loads every custom field on your Zendesk account. Pick one — dropdown () and free-text fields are supported.
2
Describe what the AI should fill
Write a short description of what the field represents. For dropdowns, OpenCX picks from existing options only. For text, OpenCX writes a short value.Example description for a Reason dropdown: “The primary reason the contact is writing. Pick the closest match from the allowed values.”
3
Enable
Toggle the mapping on. The next ticket OpenCX creates (or updates on handoff) includes the auto-filled value.
OpenCX only fills fields that are still empty. A value already on the ticket or on the requester’s profile, whether your agents set it or OpenCX filled it on an earlier handoff, is never replaced. To have OpenCX fill a field again, clear it in Zendesk first.
Tags OpenCX applies
Use these tags in Zendesk views, triggers, and reports.
Rotating Legacy credentials
OAuth access is refreshed automatically and has no API token to rotate. For a Legacy connection, regenerating the Zendesk API token does not affect the webhook — the webhook URL is signed with a separate key. To rotate:- Create a new token in Zendesk.
- Paste it into Settings → Add-ons → Zendesk.
- Delete the old token in Zendesk.
Disconnecting
For OAuth, open Settings → Add-ons → Zendesk → Ticketing → OAuth, click Disconnect, and typeDELETE. This revokes and removes only the OAuth connection; complete Legacy credentials remain available. Delete or deactivate the Zendesk trigger and webhook as well if you want public-comment delivery to stop. Tickets created while the integration was active remain untouched.
For Legacy authorization, remove or replace the saved credentials through the Legacy panel. When OAuth is also connected, Disconnect on the Legacy panel removes only the email and API token; OAuth keeps the integration working. It is refused while OAuth needs reconnecting, because the email and API token are then the only working credentials. Deactivating the Zendesk trigger and webhook stops new inbound events immediately.
Related Documentation
AI Email in Zendesk
Per-channel implementation details for email handoff.
Sunshine Conversations
The path for chat, SMS, WhatsApp, phone, and social channels.
Troubleshooting
Webhook 4xx, trigger not firing, credentials failing.