Skip to main content

Step 4 - New ticket notification

Learn how to send a notification to a Slack channel when there is a new ticket in Zendesk.


Workflow that sends a Slack notification when there is a new ticket

Discover the fundamentals of automated workflows by exploring the Step 4. Learn how to capture events from Zendesk and run actions in response to these events.

Summary

How it works

  • When a new Zendesk ticket is created, sends a notification to the selected Slack channel.

Requirements

  • Slack connection

Trigger

  • Ticket created from Zendesk integration

Action

  • Send message to channel from Slack integration

How to configure this workflow

1. Create your trigger

  1. Select Zendesk from trigger options.

  2. On the opening panel, select Ticket created event in trigger selection field.

  3. Copy the Webhook URL from Actioner.

  4. Go to Zendesk Admin Center and create a new webhook with this URL. Make sure that POST is selected as the Request method and JSON is selected as the Request format.

  5. In Zendesk Admin Center, create a new trigger posting data to this webhook. Make sure to select Ticket is created in condition fields. You can add below in JSON body field.

{"type":"ticket_created","id":"{{ticket.id}}"}

2. Select your action (Send message to channel from Slack integration)

  1. Add a new node. Select Actions option and then select Slack from the opening list.

  2. On the opening panel, you can give a new name to your action.

  3. Select Send message to channel action in action selection field.

  4. Select your Slack workspace in Connection field.

  5. On ACTION INPUTS section, select your Slack channel.

  6. On Message blocks section, add a new Markdown block.

  7. Add your text in the opening Markdown block field.

3. Save your workflow and test it.

  1. Click Apply at top right corner to save your workflow.

  2. To test it, create a new ticket in Zendesk and check your Slack channel for the notification.