⚙️ Classify and route DevOps chat requests with Mattermost and Claude

⚡ 256 views · ⚙️ DevOps & CI/CD

Description

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 the message via Mattermost outgoing webhook
  2. Classifies the request into one of 8 categories using an LLM
  3. Looks up the current on-call engineer from Google Calendar
  4. Routes the request through a Switch node based on category
  5. Acknowledges in a Mattermost thread with the classification result

Categories

Extending

Each Switch output is an independent branch — connect sub-workflows or additional nodes per category. For example:

incident → trigger an AI investigation sub-workflow with MCP tools (Kubernetes, Grafana, etc.) create_resource → run a provisioning playbook ci_cd_error → fetch GitHub Actions logs and analyze failures

Connect these workflows:

🔗 Nodes Used

Webhook, Google Calendar, AI Agent, Qdrant Vector Store, Embeddings Google Gemini, OpenRouter Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup