Classify and route DevOps support messages with Slack and GPT-5.5
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, MCP Client, Slack and Qdrant Vector Store and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- SetVars (Edit Fields (Set)): sets 1 field: CHAT_TOKEN
- Router (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Respond to Webhook: sends the response back to the webhook caller
- Respond to Webhook: sends the response back to the webhook caller
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Slack, Qdrant Vector Store)
- Parse AI Response (Code): runs custom JavaScript code
- GetUserName (Slack): get profile (user)
- AddUserName (Code): runs custom JavaScript code
- Switch: routes items into 7 branches
Services it uses
Other OpenAI + Slack templates (979) · Other Google Gemini + Slack templates (309) · Other OpenAI + Google Gemini templates (249)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - AI Agent
@n8n/n8n-nodes-langchain.agent - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - Slack
n8n-nodes-base.slack - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Edit Fields (Set)
n8n-nodes-base.set
From the author
Overview Receives messages to technical support and classifies them. Requirements 1. OpenRouter/OpenAI/Anthropic API key 1. Google Gemini API key — for embeddings (models/gemini-embedding-2-preview) used with Qdrant 1. Slack bot — configured on the Slack…