All projects · AI Agents & RAG
AI Message Router & Intent Classifier
An automated AI message routing pipeline in n8n that ingests incoming customer inquiries, classifies message intent (Sales, Support, or Emergency)…
An automated AI message routing pipeline in n8n that ingests incoming customer inquiries, classifies message intent (Sales, Support, or Emergency) via OpenAI GPT-4o-mini with resilient keyword fallbacks, tags appropriate operational teams, and directs requests across a multi-branch Switch router.
- Classification pipeline: Ingestion > AI Intent Analysis > Normalization & Mapping > Multi-Branch Switch > Team Tagging
- Defensive dual-mode classifier combining OpenAI GPT-4o-mini with heuristic pattern matching fallback (emergency outages, sales quotes, support issues)
- Normalized intent-to-action mapper assigns team tags (sales-team, support-team, emergency-oncall) and priority SLAs
- 3-way Switch rule routing separating requests cleanly into Sales, Support, and Emergency HTTP API endpoints
Built with: n8n, OpenAI gpt-4o-mini, @n8n/n8n-nodes-langchain.openAi, n8n Switch node, JavaScript Code node, HTTP Request node, Intent Classification