top of page
  • Writer's pictureDevon Harris

Zendesk Tip: Creating Custom Slack Notifications for Any Trigger or Automation

Regrettably, the default integration between Zendesk and Slack does not provide sufficient flexibility for notifying you of crucial or pressing tickets. This guide will demonstrate how to develop a personalized Slack bot that leverages triggers and webhooks for tailored notifications. Although it may appear complex initially, with a little practice, eventually you won't even need this guide.

For our example we're going to create notifications for a channel every time a BBB (Better Business Bureau) ticket is submitted.


create a custom slack app for notications

You'll want to start by going to:

From here you'll be able to create your own custom slack app.



name your custom slack app

Name your application. For this instance, we'll call this application "Smoothen Zendesk Notifications". Be sure to pick the workspace in which you want the app to live.



create a webhook for your slack notifications

Once you create your application you should see the option to create an incoming webhook.



Activate webhooks.



Now you should see the option to add a new webhook.



select the slack channel you want your zendesk notifcations to go to

Search for the channel you want your notifications to go to. For this example, we will be sending our notifications to a private channel called BBB. Be sure to hit "Allow" once you've selected your channel.

Once you've successfully created the webhook, you should see a notification in the channel is slack:



Go back to the "incoming webhooks" page in your Slack app and copy the webhook URL for the channel to which you want the notifications to go to.



Now in Zendesk admin center, go to webhooks and click "Create webhook".



create a trigger for your slack notifications

Select trigger or automation and click next in the bottom right corner.

Name your webhook: we recommend naming it the location of the slack channelIn this example, we named the webhook #bbb slack notifications. Insert the webhook URL as the Endpoint URL you copied in step 7. Your request method should be POST. Your request format should be JSON. Authentication should be none. Click create webhook, when you're finished.



With the feature, you can establish triggers that send alerts to a channel whenever a specific action takes place. Define the conditions of your trigger according to your requirements. In this instance, we have maintained simplicity by employing only two conditions, presuming that we have previously configured another trigger to tag BBB tickets. Under actions of the trigger select "Notify active webhook" and select your webhook.



use this JSON for creating your custom slack notification into zendesk with triggers

Enter the JSON code and create your trigger.

In this example we used the following code for the JSON body:

{"text": "New Ticket from the BBB : <{{}}|Ticket #{{}}>"

The result was this:

But you'll want to change a few things for it to work for your use case. You'll need to enter in the URL of your Zendesk account.

{"text": "New Ticket from the BBB : <{{}}|Ticket #{{}}>"

For your Zendesk use case, you can change "New Ticket from the BBB" to say anything. You can even use emojis or Zendesk liquid markup:

{{}} = The ticket requester's full name.

{{ticket.title}} = The subject line of a ticket.

{{ticket.status}} = The current status of the ticket.

Customized Slack notifications are really great for staying on top of urgent issues in the inbox. There are endless reasons you may want to setup Slack notifications for you and your agents. Perhaps it's to stay on top of BBB notifications, be notified when a VIP user submits a ticket or when an agent receives a negative CSATs, so they can follow up right away.

If you run into any trouble, feel free to reach out to our team at We're always happy to help!


bottom of page