Sync Zendesk Ticket to Salesforce Case

Customer ServiceHelpdeskCRMMarketingSales

What it does

When a new ticket is created in Zendesk, this automation searches for the requestor and creates a contact and case in Salesforce if needed. It then updates the Zendesk ticket with the Salesforce Case ID.

Who it's for

Customer support teams who manage tickets in Zendesk and cases in Salesforce and need both systems synchronized.

How teams use this

Keep support tickets synced across systems

When a ticket arrives in Zendesk, automatically create the corresponding case in Salesforce so agents in both systems see the same work. No manual data entry is needed.

Prevent duplicate contacts in Salesforce

Search Salesforce before creating a contact so the same person is not added twice. The case still gets created and linked to the existing contact.

Route cases to the right account

Add a step to check the contact's account in Salesforce and assign the case to that account automatically. This ensures cases land in the right place without manual routing.

Add custom fields to the Salesforce case

Include ticket priority, category, or tags from Zendesk as custom fields on the Salesforce case. This gives agents more context without switching between apps.

How it works

  1. New ticket arrives in Zendesk. A new ticket is created in Zendesk with a requestor name and email address, triggering this automation to sync the data to Salesforce.
  2. Get the requestor details. Search Zendesk for the record associated with the ticket so the requestor's full name and email are available for the Salesforce contact.
  3. Search for the contact in Salesforce. Search Salesforce for an existing contact matching the requestor's email to avoid creating a duplicate record in the system.
  4. Create contact and case. If no contact exists, create one with the requestor's first and last name parsed from Zendesk. Then create a case linked to that contact with the ticket details.
  5. Link the case back to the ticket. Update the Zendesk ticket's External ID field with the Salesforce Case ID and add a comment confirming the case was created in Salesforce.