Step 5 - Detailed new ticket notification
Learn how to send a detailed 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
Check out this step to learn the process of data transfer between workflow nodes, which helps in building a more comprehensive context.
Summary
How it works
- When a new Zendesk ticket is created, sends a detailed notification to the selected Slack channel.
Requirements
- Zendesk connection
- Slack connection
Trigger
- Ticket created from Zendesk integration
Actions
Get ticket from Zendesk integration
Send message to channel from Slack integration
How to configure this workflow
Continued from Step 4 - New ticket notification
2. Add a new action (Get ticket from Zendesk integration)
Add a new node after the trigger. Select Actions option and then select Zendesk from the opening list.
On the opening panel, you can give a new name to your action.
Select
Get ticket
action in action selection field.Select a shared Zendesk connection. In automated workflows, Actioner relies on a designated shared connection to be able to process data automatically.
Navigate to Ticket ID field on ACTION INPUTS section.
Select Dynamic option from the gear icon right next to this field and enter
{{event.body.id}}
. This will pass the ticket ID from event payload to your action and return that ticket's details.
3. Update send message to channel Slack action
Navigate to Message blocks of send message to channel Slack action.
To use data from an earlier node, you can use
nodes.action1.response
reference. Update the Markdown block as below to show the ticket ID and subject in your notification:
Ticket has been created.
Ticket ID: {{nodes.action1.response.body.ticket.id}}
Ticket subject: {{nodes.action1.response.body.ticket.subject}}
4. Save your workflow and test it.
Click Apply at top right corner to save your workflow.
To test it, create a new ticket in Zendesk and check your Slack channel for the notification.