Templates / Answer infrastructure questions in Mattermost with OpenRouter and Qdrant

Answer infrastructure questions in Mattermost with OpenRouter and Qdrant

Ready for 3.0

by Sergei Byvshev ✓ · 68 views · created 2026-05-11 · Internal Wiki, AI RAG

Ready 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 17 nodes and runs when another workflow calls it. Along the way it connects OpenRouter Chat Model, MCP Client, Qdrant Vector Store and Embeddings Google Gemini and 2 more.

How it runs

Trigger: When another workflow calls it.

  1. ReadIncidentContext (Code): runs custom JavaScript code
  2. Call 'attachmentsAnalyzer' (Execute Sub-workflow): calls another n8n workflow
  3. Merge: merges the data from its input branches
  4. Set: empty attachments (Edit Fields (Set)): sets 2 fields: attachments_context, attachments_count
  5. SetVars (Edit Fields (Set)): sets 12 fields: GITHUB_ORG, K8S_NAMESPACE, K8S_CLUSTERS…
  6. AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 7 tools (K8S, Github, Grafana, Mattermost…)
  7. Post a message (Mattermost): uses Mattermost

Services it uses

OpenRouter Chat ModelMCP ClientQdrant Vector StoreEmbeddings Google GeminiMattermostHTTP Request

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 (12)

From the author

Overview AI-powered sub-workflow that answers questions about a your infrastructure configuration directly in a Mattermost channel or thread Requirements OpenRouter/OpenAI/Anthropic API key Google Gemini API key — for embeddings Jira API credentials — Cloud…

Excerpt from Sergei Byvshev's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.