Back to Integrations
integrationZendesk node
integrationSlack node

Zendesk and Slack integration

Save yourself the work of writing custom integrations for Zendesk and Slack and use n8n instead. Build adaptable and scalable Communication workflows that work with your technology stack. All within a building experience you will love.

How to connect Zendesk and Slack

  • Step 1: Create a new workflow
  • Step 2: Add and configure nodes
  • Step 3: Connect
  • Step 4: Customize and extend your integration
  • Step 5: Test and activate your workflow

Step 1: Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Zendesk and Slack integration: Create a new workflow and add the first step

Step 2: Add and configure Zendesk and Slack nodes

You can find Zendesk and Slack in the nodes panel. Drag them onto your workflow canvas, selecting their actions. Click each node, choose a credential, and authenticate to grant n8n access. Configure Zendesk and Slack nodes one by one: input data on the left, parameters in the middle, and output data on the right.

Zendesk and Slack integration: Add and configure Zendesk and Slack nodes

Step 3: Connect Zendesk and Slack

A connection establishes a link between Zendesk and Slack (or vice versa) to route data through the workflow. Data flows from the output of one node to the input of another. You can have single or multiple connections for each node.

Zendesk and Slack integration: Connect Zendesk and Slack

Step 4: Customize and extend your Zendesk and Slack integration

Use n8n's core nodes such as If, Split Out, Merge, and others to transform and manipulate data. Write custom JavaScript or Python in the Code node and run it as a step in your workflow. Connect Zendesk and Slack with any of n8n’s 1000+ integrations, and incorporate advanced AI logic into your workflows.

Zendesk and Slack integration: Customize and extend your Zendesk and Slack integration

Step 5: Test and activate your Zendesk and Slack workflow

Save and run the workflow to see if everything works as expected. Based on your configuration, data should flow from Zendesk to Slack or vice versa. Easily debug your workflow: you can check past executions to isolate and fix the mistake. Once you've tested everything, make sure to save your workflow and activate it.

Zendesk and Slack integration: Test and activate your Zendesk and Slack 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

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 ticket node 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 ticket node. 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 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 ticket node and select the field you created in Zendesk.

Nodes used in this workflow

Popular Zendesk and Slack workflows

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. 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 ticket node 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 ticket node. 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 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 ticket node and select the field you created in Zendesk.

Post unassigned Zendesk tickets to Slack

> This has been updated to support the Query feature added to the Zendesk node in 0.144.0 This workflow will post all New and Open tickets without an agent assigned to a Slack channel on a schedule. The function node is used in this example to merge multiple inputs into one output message which is then used as the Slack message. The output in Slack will be similar to the below message, The "TICKET_ID" will be a link to the ticket. > Unassigned Tickets TICKET_ID [STATUS] - TICKET_SUBJECT Usage Update the Cron schedule, The default value is 16:30 daily. Update the Credentials in the Zendesk nodes Update the Credentials and Channel in the Slack Node Grab a coffee and enjoy! Zendesk Query In the Zendesk node we are using the query assignee:none status<pending this returns all New and Open tickets with no assignee allowing us to remove the extra nodes.

Build your own Zendesk and Slack integration

Create custom Zendesk and Slack 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.

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

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
Send and Wait for Approval
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 profile
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

FAQs

  • Can Zendesk connect with Slack?

  • Can I use Zendesk’s API with n8n?

  • Can I use Slack’s API with n8n?

  • Is n8n secure for integrating Zendesk and Slack?

  • How to get started with Zendesk and Slack integration in n8n.io?

Need help setting up your Zendesk and Slack integration?

Discover our latest community's recommendations and join the discussions about Zendesk and Slack integration.
Rafael Serrano
Nicolas N
Muhammed Iqbal P B
Nicolas N

Looking to integrate Zendesk and Slack in your company?

Over 3000 companies switch to n8n every single week

Why use n8n to integrate Zendesk with Slack

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