Sync new Salesforce cases to Zendesk tickets

CRMMarketingSalesCustomer Service

What it does

When a new or updated case appears in Salesforce with a specific subject line, this automation fetches the case details and searches Zendesk for a matching requester. If no requester exists, it creates one, then creates or updates the ticket so both systems stay in sync.

Who it's for

Customer support teams who manage cases in Salesforce and need them reflected in Zendesk without manual entry.

How teams use this

Keep support cases synchronized across systems

New cases created in Salesforce automatically become Zendesk tickets with the correct requester, eliminating duplicate data entry and ensuring support agents see all cases in Zendesk.

Sync cases from different Salesforce queues

Adjust the subject line filter to match cases from a different Salesforce queue or team, so cases from sales handoffs or account updates also flow into Zendesk without changing the automation logic.

Include custom fields on the Zendesk ticket

Add steps to map Salesforce case custom fields such as priority, category, or account name to Zendesk ticket fields so the ticket captures all relevant context from the case.

Filter cases by priority before syncing

Add a condition to only sync cases marked as high or critical priority in Salesforce, so lower-priority cases remain in Salesforce and do not clutter the Zendesk queue.

How it works

  1. Monitor for new or updated cases. Watch Salesforce for a new or updated case where the subject contains the demo tag and the Zendesk Ticket URL field is empty.
  2. Retrieve the case and contact details. Fetch the full case record from Salesforce and search for the associated contact's email address to identify the requester in Zendesk.
  3. Find or create the Zendesk requester. Search Zendesk for a user with the contact's email. If no user exists, create one in Zendesk so the ticket has a valid requester.
  4. Create or update the Zendesk ticket. Search Zendesk for an existing ticket linked to this case. Create a new ticket if none is found, or update the existing one with the latest case details from Salesforce.
  5. Store the ticket link in Salesforce. Update the case record in Salesforce with the link to the new or updated Zendesk ticket so both records reference each other.