πŸ“– Answer infrastructure questions in Mattermost with OpenRouter and Qdrant

⚑ 68 views Β· πŸ“– Internal Wiki & Knowledge Base

Description

Overview

AI-powered sub-workflow that answers questions about a your infrastructure configuration directly in a Mattermost channel or thread

Requirements

How it works

  1. The workflow is triggered by another workflow
  2. ReadIncidentContext logs the request and forwards the payload
  3. Call β€˜attachmentsAnalyzer invokes a vision sub-workflow with the file_ids
  4. SetVars sets workflow-level constants
  5. AI agent generates a response based on the system prompt, knowledge base, and access to repositories.
  6. The agent’s response is posted back to Mattermost via the Post a message node

How to use

πŸ”— Nodes Used

Mattermost, Execute Sub-workflow, Execute Workflow Trigger, AI Agent, Qdrant Vector Store, Embeddings Google Gemini

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup