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
Automate Zendesk alerts with n8n and Slack

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

Learn how to Build this Workflow with AI:

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


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

Processing Steps

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.

Automate Zendesk alerts with n8n and Slack

Visit through Desktop to Interact with the Workflow.

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 Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.