Skip to main content
Email is the one channel that routes through the Ticketing API path, not Sunshine. Every email handoff creates (or appends to) a Zendesk so your reps work email the way Zendesk is designed to handle it — tickets with SLAs, triggers, and macros.

Pre-requisites

Set up email forwarding first. No email handoff has anything to ticket until inbound mail is reaching OpenCX — start with Connect Email and come back here.
  • Email forwarding configured — see Connect Email.
  • Zendesk Ticketing API credentials, webhook, and trigger saved — see Ticketing API.

How conversations land in Zendesk

Setting up

1

Confirm email forwarding works

Open Channels → AI Email in the OpenCX dashboard. Your forwarding address should be listed and verified. Send a test email and confirm it reaches the Inbox.
2

Confirm Zendesk Ticketing is connected

In Settings → Add-ons, open Zendesk → Ticketing. The status should show Active and the webhook URL should be displayed.
3

Confirm the Zendesk trigger is active

In Zendesk Admin Center → Triggers, verify the OpenCX trigger fires on Ticket | Is | Updated with a public comment present. See Ticketing API setup for the exact configuration.
4

Trigger a test handoff

Send a test email to your connected address and respond with something that causes the AI to escalate. Alternatively, go to the Inbox and manually hand off the session.
5

Verify the ticket in Zendesk

A ticket should appear in Zendesk tagged opencx, opencx_handedoff, and opencx_channel_email. Check:
  • The summary is the ticket description.
  • The full transcript is the first comment.
  • Any you mapped are pre-filled.
  • The View session in OpenCX link opens the right session.
6

Reply and verify sync

Post a public reply from Zendesk. Confirm it arrives in the customer’s email and shows as an agent message in the OpenCX Inbox.

What the rep sees

  • A Zendesk ticket tagged opencx, opencx_handedoff, and opencx_channel_email.
  • Conversation summary as the description, full transcript as the first comment.
  • Custom fields pre-filled by the AI on the fields you mapped at Settings → Ticketing → Auto fill Zendesk fields.
  • external_id set to the OpenCX session UUID — filter Zendesk views by to find the ticket later.
  • A View session in OpenCX link in the first comment — one click opens the full AI reasoning, tool calls, and handoff event.

Keep email recipients synchronized

In Settings → Ticketing → Email sessions in Zendesk, turn on Edit To and Cc. You need permission to manage integrations. OpenCX verifies the Zendesk connection before enabling the setting. It applies to email sessions linked to an existing Zendesk ticket and is independent of Create email tickets. Turning it off stops new recipient edits in OpenCX. Changes made in Zendesk and pending reply recovery continue to sync. After reconnecting Zendesk, turn it on again to verify setup. Turning it on also checks whether your Zendesk account uses CCs and followers, so Cc changes reach the ticket either way. If you change that Zendesk setting later, turn Edit To and Cc off and on again. In OpenCX Inbox, edit To to choose the next primary contact and review Cc. Changes take effect when you select Send. If the Zendesk ticket is editable, it receives the new requester and email Cc list, including removals. Changes submitted in Zendesk update the OpenCX session too, with or without a new comment. For emails sent directly by OpenCX, if Zendesk leaves out a newly added Cc, that address stays in OpenCX and receives the email. This includes light agents that Zendesk does not allow as Cc. No send error is shown for that refusal. Later synchronization preserves these OpenCX-only addresses; remove them in OpenCX when they should no longer receive replies. Sending without editing To or Cc does not synchronize them again. Direct email uses the recipients saved in OpenCX. If Zendesk delivers the reply, it uses the ticket’s current recipients and notification rules, which can differ from OpenCX while a Zendesk change is still syncing. A linked session without saved recipients or ticket restrictions loads them once before its first reply. The primary-contact system event records the change, and earlier messages retain their authors. A reply from an earlier participant does not reverse the transfer. AI responses prepared for the former primary are cancelled; AI can respond to the new primary under normal assignment rules. Cancelled replies and suggestions do not trigger AI-response-completed workflows or webhooks. For both delivery routes, an AI reply is shown as sent only after the send is accepted. A recipient change that stops the send also stops completion workflows and webhooks. The existing delivery setting is preserved. Zendesk-delivered replies stay public ticket comments. Replies sent directly from a connected OpenCX inbox are recorded as private Zendesk notes after sending. A failed private note can be retried without resending the email. If the Zendesk ticket is closed, direct sending and To/Cc editing remain available in OpenCX. The closed ticket retains its old recipients and receives no private copy; later synchronization preserves the new recipients in OpenCX. See email recipient controls for draft conflicts, retries, permissions and eligibility. This does not extend To editing to other integrations or messaging channels.

Replies to emails started in Zendesk

When Create email tickets is enabled and recipient synchronization has been verified through Edit To and Cc, OpenCX can link a forwarded reply to an existing Zendesk ticket even if it has no OpenCX session yet. The reply must retain a Zendesk email reference and one identifiable Zendesk ticket number in the quoted message. OpenCX checks the ticket in your connected Zendesk account and links the reply using that reference, even when the sender is not the ticket’s current requester or an email Cc. OpenCX creates a session linked to that ticket and records the incoming reply as a private note on the original ticket. Previous Zendesk messages and attachments are not imported. The Zendesk status and assignee stay unchanged. The OpenCX session keeps the mapped teammate and team, where available. The linked session uses assist mode so linking an existing human-handled request does not start automatic customer replies. A reply from someone outside the current participants is saved privately on the linked session and ticket. Linking does not change the requester or Cc list, add the sender as a recipient, or send them an automatic reply. When OpenCX copies an incoming email onto a Zendesk-originated ticket, it adds opencx_linked_email_reply. It does not add this tag when copying replies to OpenCX-created tickets, sending agent or AI replies, or posting ordinary internal notes. You can use this tag in your Zendesk triggers to include these tickets in reply synchronization or your reopening rules. To show future public Zendesk replies in OpenCX, your comment-notification trigger must match these tickets and notify OpenCX. Adding the tag alone does not synchronize replies or reopen the ticket. The tag remains on the ticket; its presence alone does not distinguish a new incoming email from a later internal note. Account for that when defining a reopening trigger. If the ticket number is missing or ambiguous, or the ticket is permanently Closed, this fallback does not link it. The inbox’s usual unmatched-email handling applies. Temporary Zendesk access failures retry processing before creating a new session. Automatic replies and spam do not start a new ticket link.

Channel-specific details

If the same contact re-engages before the ticket is closed, OpenCX appends to the existing ticket instead of opening a new one. Your reps keep context; your reports don’t inflate.
When your rep posts a public reply in Zendesk, the webhook fires and OpenCX delivers the reply to the customer’s original email thread. Internal notes stay private — OpenCX fetches the comment from Zendesk and syncs only public replies, so notes never reach the customer.
Attachments the customer sends by email are uploaded to Zendesk and appear on the ticket. Attachments your rep adds to a public reply sync back through the customer’s email thread (subject to your email provider’s attachment limits).
By default an email session gets a ticket only on handoff. If your compliance or SLA reporting requires a ticket for every email, turn on Create email tickets in Settings → Ticketing → Email sessions in Zendesk.

AI Email Support

The channel itself — forwarding setup, flow, troubleshooting.

Ticketing API setup

Credentials, webhook, trigger, AI Fields, tags.

Zendesk overview

What else Zendesk lights up across every channel.

Troubleshooting

Tickets not created, replies not syncing, AI fields blank.