Skip to main content

Classify and route DevOps support messages with Slack and GPT-5.5

Workflow preview

Workflow preview
100%
Classify and route DevOps support messages with Slack and GPT-5.5 preview
Open on n8n.io

1. Workflow Overview

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...

Best for

  • Ticket Management automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.switch, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.webhook, n8n-nodes-base.if, n8n-nodes-base.respondtowebhook, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sergei Byvshev.

Original n8n.io source

1.1 Workflow description

Title
Classify and route DevOps support messages with Slack and GPT-5.5
Workflow name
Classify and route DevOps support messages with Slack and GPT-5.5

Overview

Receives messages to technical support and classifies them.

Requirements

  1. OpenRouter/OpenAI/Anthropic API key
  2. Google Gemini API key — for embeddings (models/gemini-embedding-2-preview) used with Qdrant
  3. Slack bot — configured on the Slack side, sends POST to the Webhook node; the token from the webhook is compared against CHAT_TOKEN
  4. Mattermost MCP
  5. Qdrant
  6. Google Calendar OAuth credentials
  7. Webhook token — a static CHAT_TOKEN value in the SetVars node, must match the Token configured in the Mattermost outgoing webhook

How it works

  1. Message reception. Slack sends a POST with fields token, text, post_id, channel_id, user_name, file_ids, etc. to the Webhook when @devops-duty is mentioned in a subscribed channel. The message is validated using the token and the required fields are extracted.
  2. Classification via AI Agent. The agent analyzes the request and determines which category to assign it to.
  3. Parsing the agent's response.
  4. Resolving user name by id.
  5. Routing by category. Switch dispatches the payload across 7 branches (modify_infrastructure, incident, question, ci_cd_error, new_system, announcement, other) — all branches are intentionally empty in the template, so users can plug in their own sub-workflows.

How to use

  1. Import the workflow into n8n, verify compatibility with v2.18.2.
  2. Connect credentials:
  • OpenRouter/OpenAI/Anthropicr (Chat Model)
  • Google Gemini (Embeddings)
  • Google Calendar OAuth (GetDutyEvent)
  • Qdrant API (Vector Store) — set your own URL and API key
  1. Replace the Slack MCP URL i
  2. Create a Qdrant collection
  3. Generate a webhook token
  4. Configure the Slack bot to send messageto outgoing webhook
  5. Optionally configure an Error Workflow

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Parse AI Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 5 - GetSlackMessage

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 6 - Router

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 8 - Respond to Webhook

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 9 - Respond to Webhook1

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 10 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 11 - Slack

Type / Role
@n8n/n8n-nodes-langchain.mcpClientTool - mcpClientTool
Config choices
Version 1.2

Block 12 - GetUserName

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 13 - AddUserName

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Qdrant Vector Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1.3

Block 19 - Embeddings Google Gemini

Type / Role
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - embeddingsGoogleGemini
Config choices
Version 1

Block 20 - SetVars

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Classify and route DevOps support messages with Slack and GPT-5.5
Complexity advanced
Nodes 20
Categories Ticket Management, AI Summarization
Author Sergei Byvshev
Published 19 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15827/15827.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Classify and route DevOps support messages with Slack and GPT-5.5 do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.