Back to Integrations
integrationSlack node
integrationZendesk node

Slack and Zendesk integration

n8n lets you integrate Slack with Zendesk to build powerful workflows. Design automation that extracts, transforms and loads data between your apps and services. You can choose from thousands of ready-made apps or use our universal HTTP connector to sync apps not yet in our library.

Integrate Slack and Zendesk

Build your own Slack and Zendesk integration

Create custom Slack and Zendesk workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

How to connect Slack and Zendesk

  • Step 1: Add the first step

  • Step 2: Add Slack and Zendesk nodes

  • Step 3: Connect Slack and Zendesk

  • Step 4: Run workflow

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

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 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.

Nodes used in this workflow

Over 3000 companies switch to n8n every single week

Slack supported actions

Archive
Archives a conversation
Close
Closes a direct message or multi-person direct message
Create
Initiates a public or private channel-based conversation
Get
Get information about a channel
Get Many
Get many channels in a Slack team
History
Get a conversation's history of messages and events
Invite
Invite a user to a channel
Join
Joins an existing conversation
Kick
Removes a user from a channel
Leave
Leaves a conversation
Member
List members of a conversation
Open
Opens or resumes a direct message or multi-person direct message
Rename
Renames a conversation
Replies
Get a thread of messages posted to a channel
Set Purpose
Sets the purpose for a conversation
Set Topic
Sets the topic for a conversation
Unarchive
Unarchives a conversation
Get
Get Many
Get & filters team files
Upload
Create or upload an existing file
Delete
Get Permalink
Search
Send
Update
Add
Adds a reaction to a message
Get
Get the reactions of a message
Remove
Remove a reaction of a message
Add
Add a star to an item
Delete
Delete a star from an item
Get Many
Get many stars of autenticated user
Get
Get information about a user
Get Many
Get a list of many users
Get User's Profile
Get a user's
Get User's Status
Get online status of a user
Update User's Profile
Update a user's profile
Create
Disable
Enable
Get Many
Update

Zendesk supported actions

Create
Create a ticket
Delete
Delete a ticket
Get
Get a ticket
Get Many
Get many tickets
Recover
Recover a suspended ticket
Update
Update a ticket
Get
Get a ticket field
Get Many
Get many system and custom ticket fields
Create
Create a user
Delete
Delete a user
Get
Get a user
Get Many
Get many users
Get Organizations
Get a user's organizations
Get Related Data
Get data related to the user
Search
Search users
Update
Update a user
Count
Count organizations
Create
Create an organization
Delete
Delete an organization
Get
Get an organization
Get Many
Get many organizations
Get Related Data
Get data related to the organization
Update
Update a organization

Looking to integrate Slack and Zendesk in your company?

Why use n8n to integrate Slack with Zendesk

Build complex workflows, really fast

Build complex workflows, really fast

Handle branching, merging and iteration easily.
Pause your workflow to wait for external events.

Code when you need it, UI when you don't

Simple debugging

Your data is displayed alongside your settings, making edge cases easy to track down.

Use templates to get started fast

Use 1000+ workflow templates available from our core team and our community.

Reuse your work

Copy and paste, easily import and export workflows.

Implement complex processes faster with n8n

red iconyellow iconred iconyellow icon