Classify and route DevOps chat requests with Mattermost and Claude
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model, Google Calendar, MCP Client 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
- ValidateAndExtractMessage (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 2 tools (Mattermost, Qdrant Vector Store)
- Parse AI Response (Code): runs custom JavaScript code
- GetDutyEvent (Google Calendar): get many
- Inject duty name (Code): runs custom JavaScript code
- Switch: routes items into 7 branches
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 (10)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Switch
n8n-nodes-base.switch - Google Calendar
n8n-nodes-base.googleCalendar - AI Agent
@n8n/n8n-nodes-langchain.agent - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - 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
Automatically classify and route DevOps requests from your team chat using LLM + on-call calendar lookup. What it does This workflow turns your Mattermost channel into a smart DevOps intake system. When someone mentions @devops-duty, the workflow: 1. Receives…