Triage support tickets by GPT-4o sentiment and route them to Slack
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Normalize Ticket Data (Code): runs custom JavaScript code
- OpenAI: work with chat
- Parse Sentiment Output (Code): runs custom JavaScript code
- Route by Sentiment Score (Switch): routes items into 3 branches
- Send to Slack #escalation (Slack): uses Slack
- Send to Slack #support (Slack): uses Slack
- Send to Slack #feedback (Slack): uses Slack
- Respond with Routing Outcome (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Analyze customer support ticket sentiment and route to Slack channels --- Who is this for Customer support teams, customer experience managers, and operations teams that need to triage incoming support tickets in real time without manual classification. Ideal…