Sync Salesforce Case comments to Zendesk Ticket comments
CRMMarketingCustomer Service
What it does
When someone creates a comment on a Salesforce Case, this automation finds the related Zendesk Ticket and adds that comment there. If the ticket is not found or is closed, the automation stops and sends an email.
Who it's for
Customer support teams who manage cases in Salesforce and tickets in Zendesk and need comments synced between them.
Apps used
How teams use this
Keep support conversations in sync
When a support agent adds a note to a Salesforce Case, it appears in Zendesk so both teams see the same history. No manual copying is needed.
Prevent updates to resolved tickets
The automation checks if a Zendesk ticket is closed before syncing the comment. Closed tickets stay locked and only open ones receive new comments from Salesforce.
Alert on missing ticket links
If a Salesforce Case has no Zendesk ticket ID or the ticket cannot be found, an email is sent so someone can investigate the broken link and fix it.
Preserve comment author identity
The automation searches Zendesk for the comment author by email so the person who wrote the note in Salesforce is credited in Zendesk. If no match is found, include the comment without an author field.
How it works
- Detect a new case comment. A new comment is created on a Salesforce Case that has a Zendesk ticket ID linked to it.
- Find the associated case. Search Salesforce for the case record to retrieve the Zendesk ticket ID that links this case to a Zendesk ticket.
- Retrieve the Zendesk ticket. Search Zendesk for the ticket using the case ID from Salesforce so the comment goes to the correct ticket.
- Check if the ticket is open. Verify the Zendesk ticket is not closed, since Zendesk blocks updates to closed tickets. Stop if it is closed.
- Add the comment to the ticket. Post the Salesforce comment to the Zendesk ticket with the comment author from Salesforce if that person exists in Zendesk.