Back to Integrations
integrationWebhook node
integrationZendesk node

Webhook and Zendesk integration

n8n lets you integrate Webhook 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 Webhook and Zendesk

Build your own Webhook and Zendesk integration

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

  • Step 1: Add the first step

  • Step 2: Add Webhook and Zendesk nodes

  • Step 3: Connect Webhook 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

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

Webhook and Zendesk integration details

integrationWebhook node
Webhook

Webhooks are automatic notifications that apps send when something occurs. They are sent to a certain URL, which is effectively the app's phone number or address, and contain a message or payload. Polling is nearly never quicker than webhooks, and it takes less effort from you.

Looking to integrate Webhook and Zendesk in your company?

Why use n8n to integrate Webhook 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