Sync Zendesk Tickets to Slack Thread
This workflow creates a Slack thread when a new ticket is created in Zendesk. Subsequent comments on the ticket in Zendesk are added as replies to the thread in Slack. ## Prerequisites - Zendesk account and [Zendesk credentials](https://docs.n8n.io/integrations/builtin/credentials/zendesk/). - Slack account and [Slack credentials](https://docs.n8n.io/integrations/builtin/credentials/slack/). - Slack channel to create threads in. ## How it works 1. The workflow listens for new tickets in Zendesk. 2. When a new ticket is created, the workflow creates a new thread/message in Slack. The Slack thread ID is then saved in one of the ticket's fields called Slack thread ID. 3. The next time a comment is added to the ticket, the workflow retrieves the Slack thread ID from the ticket's field and adds the comment to the thread/message in Slack as a reply. ## Setup This workflow requires that you set up a webhook in Zendesk. To do so, follow the steps below: 1. In the workflow, open the `On new Zendesk ticket` node and copy the webhook URL. 2. In Zendesk, navigate to Admin Center > Apps and integrations > Webhooks > Actions > Create Webhook. 3. Add all the required details which can be retrieved from the `On new Zendesk ticket` node. The webhook URL gets added to the “Endpoint URL” field, and the “Request method” should match what is shown in n8n. 4. Save the webhook. 5. In Zendesk, navigate to Admin Center > Objects and rules > Business rules > Triggers > Add trigger. 6. Give the trigger a name such as “New tickets”. 7. Under “Conditions” in “Meet ALL of the following conditions”, add “Status is New”. 8. Under “Actions”, select “Notify active webhook” and select the webhook you created previously. 9. In the JSON body, add the following: ``` { id: {{ticket.id}}, comment: {{ticket.latest_comment_html}} } ``` 10. Save the Zendesk trigger. You will also need to set up a field in Zendesk to store the Slack thread ID. To do so, follow the steps below: 1. In Zendesk, navigate to Admin Center > Objects and rules > Tickets > Fields > Add field. 2. Use the text field option and give the field a name such as “Slack thread ID”. 3. Save the field. 4. In n8n, open the `Update ticket` node and select the field you created in Zendesk.
This workflow creates a Slack thread when a new ticket is created in Zendesk. Subsequent comments on the ticket in Zendesk are added as replies to the thread in Slack.
Prerequisites
- Zendesk account and Zendesk credentials.
- Slack account and Slack credentials.
- Slack channel to create threads in.
How it works
- The workflow listens for new tickets in Zendesk.
- When a new ticket is created, the workflow creates a new thread/message in Slack. The Slack thread ID is then saved in one of the ticket's fields called Slack thread ID.
- The next time a comment is added to the ticket, the workflow retrieves the Slack thread ID from the ticket's field and adds the comment to the thread/message in Slack as a reply.
Setup
This workflow requires that you set up a webhook in Zendesk. To do so, follow the steps below:
- In the workflow, open the
On new Zendesk ticketnode and copy the webhook URL. - In Zendesk, navigate to Admin Center > Apps and integrations > Webhooks > Actions > Create Webhook.
- Add all the required details which can be retrieved from the
On new Zendesk ticketnode. The webhook URL gets added to the “Endpoint URL” field, and the “Request method” should match what is shown in n8n. - Save the webhook.
- In Zendesk, navigate to Admin Center > Objects and rules > Business rules > Triggers > Add trigger.
- Give the trigger a name such as “New tickets”.
- Under “Conditions” in “Meet ALL of the following conditions”, add “Status is New”.
- Under “Actions”, select “Notify active webhook” and select the webhook you created previously.
- In the JSON body, add the following:
{ id: {{ticket.id}}, comment: {{ticket.latest_comment_html}} } - Save the Zendesk trigger.
You will also need to set up a field in Zendesk to store the Slack thread ID. To do so, follow the steps below:
- In Zendesk, navigate to Admin Center > Objects and rules > Tickets > Fields > Add field.
- Use the text field option and give the field a name such as “Slack thread ID”.
- Save the field.
- In n8n, open the
Update ticketnode and select the field you created in Zendesk.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Customer Support Automation Suite
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $9.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Communication workflows
- Automate Outbound Calls with Ultravox AI and Twilio$4.99
- Automate Intelligent Email Classification with AI in Gmail$4.99
- Generate AI videos and carousels with Blotato for Instagram and TikTok$9.99
- Automating WhatsApp Replies Using GoHighLevel with Redis and Anthropic$24.99
- Automate Gmail Email Labeling with AI for Enhanced Organization$14.99
- Automate Email Summarization and Logging with AI and Google Sheets$9.99
More from Michael Green
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.