Automate Zendesk Unassigned Ticket Alerts to Slack

Struggling to keep up with unassigned Zendesk tickets? This workflow automatically fetches unassigned tickets and posts them as detailed messages in Slack, helping teams stay on top of pending work without manual checking.
zendesk
slack
manualTrigger
+2
Workflow Identifier: 1531
NODES in Use: Manual Trigger, Cron, Zendesk, Function, Slack

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does ⚙️

This workflow finds all unassigned Zendesk tickets that are active and sends a list with links to a Slack channel every day at 4:30 PM.

It saves time by removing the need to check tickets by hand and helps the support team reply faster.

It works by using scheduled triggers to collect tickets, create a message, and post it to Slack with clickable ticket details.


Who Should Use This Workflow

This is for customer support managers or teams using Zendesk and Slack.

It is useful if manual ticket checks take too long or some tickets get missed.

You can run this daily or whenever ticket updates are needed.


Tools Used

  • Zendesk API: To get unassigned, active tickets.
  • Slack API: To post alerts to a channel.
  • n8n Automation Platform: To connect the workflow steps.

Beginner Step-by-Step: How to Use This Workflow in n8n

Importing the Workflow

  1. Click the Download button on this page to get the workflow file.
  2. In your n8n editor, click the menu and choose “Import from File”.
  3. Select the downloaded workflow file.

Configuring the Workflow

  1. Add Zendesk API credentials to the Zendesk node.
  2. Add Slack API credentials to the Slack node.
  3. If needed, update any Slack channel names or Zendesk filters.
  4. Check the Function node code to confirm ticket URL format matches your Zendesk setup.

Testing and Activation

  1. Run the workflow manually using the Manual Trigger to check if tickets show in Slack.
  2. Fix any errors from Zendesk or Slack nodes if the test fails.
  3. Turn on the workflow for automatic runs at 4:30 PM daily.
  4. Optionally, visit self-host n8n if hosting yourself for reliable automation.

Workflow Inputs, Processing, and Outputs

Inputs

  • Zendesk API credentials for data access.
  • Slack API credentials and target channel for messages.
  • Scheduled or manual trigger to start.

Processing Steps

  • Triggers activate the workflow via Manual Trigger or Cron nodes.
  • Zendesk node requests all tickets without an assignee and status below pending.
  • Function node loops through tickets, builds a text message with ticket ID, status, subject, and clickable link.
  • Slack node posts the formatted message to the chosen Slack channel.

Output

A Slack message listing all unassigned Zendesk tickets. Each ticket line includes a clickable link that opens the ticket in the Zendesk interface.

This alert helps the support team quickly spot and assign new tickets.


Common Edge Cases and Troubleshooting

  • If the Zendesk node returns no tickets, check the query syntax and confirm unassigned tickets exist.
  • If the Slack message fails, verify Slack API keys and that the bot is allowed in the target channel.
  • Incorrect URLs in the Function node can break ticket links; double-check string replacements.
  • Time zones in Cron settings may cause unexpected run times; ensure it is set correctly.

Customizations ✏️

  • Change Zendesk query to filter by ticket priority or tags, like assignee:none priority:high.
  • Edit Cron node to adjust message times or run multiple times daily.
  • Add more details in the Function node code such as requester names or creation dates.
  • Send alerts to different Slack channels by replicating the Slack node.

Pre-Production Checklist ✅

  • Verify Zendesk API credentials allow reading tickets.
  • Test Zendesk node alone to confirm it fetches the expected tickets.
  • Run the Function node with sample data to confirm message looks right.
  • Test Slack node independently by sending a simple message.
  • Test both triggers manually and with Cron scheduling.

Activation and Maintenance

Activate the workflow using the toggle switch in n8n to run every day at 4:30 PM.

Use the manual trigger for on-demand checks.

Watch the n8n dashboard logs to see if messages post successfully.

Set alerts in n8n if any nodes fail often to avoid missing ticket updates.

Code snippet for Slack message formatting in the Function node

This JavaScript code loops through tickets and builds a Slack message with clickable ticket links.

// Create our Slack message
let message = "*Unassigned Tickets*\n\n";
for (item of items) {
  message += "*<" + item.json.url.replace("api/v2","agent").replace(".json","") + "|" + item.json.id + ">* [" + item.json.status.toUpperCase() + "] - " + item.json.subject + "\n"; 
}
return [{json: {message}}];

Summary and Results

✓ Saves over two hours weekly by removing manual ticket checks.

✓ Sends daily alerts listing unassigned Zendesk tickets to Slack.

✓ Helps support teams find and assign tickets faster.

✓ Easy to configure and test inside the n8n platform.

✓ Can be expanded for priority tickets, more details, or multiple channels.

Frequently Asked Questions

The Zendesk node uses the query string “assignee:none status<pending" to fetch tickets with no assignee and status below pending.
Failures occur due to invalid Slack API credentials, incorrect channel names, or lack of bot permissions in the target Slack channel.
Yes, by changing the Cron node settings, multiple daily runs can be scheduled for more frequent ticket alerts.
After import, add API credentials, update channels if needed, then run the manual trigger to confirm tickets appear in Slack.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free