In this categoryAutomation ยท 38
- How to Self-Host n8n with Docker for AI WorkflowsStart
- How to Extract Structured Data from PDFs with n8n
- How to Add OpenAI Credentials to n8n
- How to Connect Anthropic Claude as the Model in n8n Workflows
- How to Build an AI Messaging / Chatbot Automation (No Code)
- How to Build an AI Agent with Tools in n8n
- How to Build an n8n Workflow That Summarizes New Emails with AI
- How to Build a RAG Chatbot Over Your Docs in n8n
- How to Auto-Classify and Route Support Tickets with AI in n8n
- How to Schedule Daily AI Content Generation in n8n
- How to Extract Structured Data from PDFs with AI in n8n
- How to Add Error Handling and Retries to n8n AI Workflows
- How to Transcribe and Summarize Audio with AI in n8n
- How to Summarize Incoming Emails with AI in Make.com
- How to Auto-Classify Support Tickets with AI in Make.com
- How to Turn RSS Headlines into AI Blog Drafts in Make.com
- How to Build an AI Telegram Chatbot in Make.com
- How to Answer Questions from Your Docs with AI in Make.com
- How to Auto-Transcribe Audio Files with Whisper in Make.com
- How to Extract Invoice Data from PDFs with AI Vision in Make.com
- How to Generate Images from a Spreadsheet with AI in Make.com
- How to Run AI Sentiment Analysis on New Reviews in Make.com
- How to Auto-Translate Content into Multiple Languages in Make.com
- How to Handle AI Errors and Rate Limits in Make.com Scenarios
- How to Build Your First Zap with an AI Step
- How to Use Your Own OpenAI API Key in Zapier
- How to Auto-Summarize Form Submissions and Post Them to Slack
- How to Auto-Generate Social Media Captions From New Blog Posts
- How to Extract Structured Data From Emails Using a Zapier AI Step
- How to Call the Claude API From Zapier Using Webhooks
- How to Build a Simple AI Chatbot with Zapier Interfaces and Tables
- How to Build a Multi-Step AI Research Agent in Zapier
- How to Auto-Categorize and Route Support Tickets with AI and Paths
- How to Cut AI Task Usage in Zapier With Filters and Formatter
- How to Debug AI Steps in Zapier Using Zap History
How to Auto-Classify and Route Support Tickets with AI in n8n
Use an LLM to tag incoming tickets by category and urgency, then branch the workflow to route each one to the right team automatically.
Manual ticket triage is slow and inconsistent. With an LLM and a Switch node you can read each incoming request, classify it into a fixed set of categories, and route it to the right place. The trick is forcing structured output so the rest of the workflow can branch reliably.
What you need
- A running n8n instance with an OpenAI credential
- A ticket source such as a webhook, form, or shared inbox
- Destinations for each route (different Slack channels, labels, or assignees)
Step 1: Capture the ticket
Add a trigger for wherever tickets arrive. A Webhook node is the most flexible: point your form or help desk at its URL and the ticket text lands in the workflow as JSON.
Step 2: Classify with structured output
Add an OpenAI node and instruct it to return strict JSON. Asking for JSON rather than free text means the next nodes can read fields directly instead of parsing prose.
Classify this support ticket. Respond with JSON only:
{ "category": "billing|technical|sales|other",
"urgency": "low|medium|high" }
Ticket:
{{ $json.body.message }}Step 3: Branch with a Switch node
Add a Switch node with one output per category. Set each rule to compare {{ $json.category }} against billing, technical, sales, and a fallback output for other. Each branch then leads to its own destination node.
Step 4: Add urgency handling
Inside the technical and billing branches, add an IF node that checks whether urgency equals high. On the true path, send an extra alert or mention an on-call person so the most pressing tickets are never buried.
Result
Each ticket is now read, tagged, and routed within seconds of arriving. High urgency technical and billing issues get an additional ping, and anything the model cannot confidently place falls through to a triage channel for a human to sort.
Watch related tutorials
25:00
18:00
60:00
27:30
31:18
1:42:30New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.