Send last 5 Zendesk tickets to Slack

Social, UtilitiesCustomer ServiceHelpdesk

What it does

When someone runs the Zendesk List Tickets command in Slack, this automation searches Zendesk for their open tickets. It sends the five most recent ones back to the channel, or replies if no tickets exist.

Who it's for

Customer support and Customer success teams who need to check recent Zendesk tickets without leaving Slack.

How teams use this

Check recent tickets without switching apps

Run the Zendesk List Tickets command from Slack to see the five most recent open incidents you filed. The results appear in the same conversation so you stay in your workflow.

Let agents triage tickets in Slack

Invite the bot to a support channel so agents can pull their ticket list during standup or handoff conversations. The automation works the same way and only the channel context changes.

Filter tickets by status or priority

Add a condition to search only for high priority or urgent tickets instead of all open incidents. This requires setting a priority filter in the Zendesk search step.

How it works

  1. Run the Zendesk List Tickets command. Type the Zendesk List Tickets command in a Slack channel or direct message to retrieve open tickets.
  2. Find the person in Zendesk. Search Zendesk for a user account matching the Slack email so the automation knows whose tickets to retrieve.
  3. Retrieve open incident tickets. Search Zendesk for open incident type tickets filed by that person, then sort to get the five most recent ones.
  4. Send the ticket list to Slack. Reply in the same Slack conversation with the five tickets or a message that no tickets were found for that person.