Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when another workflow calls it. Along the way it connects OpenRouter Chat Model, HTTP Request, Qdrant Vector Store and Embeddings Google Gemini and 3 more.
How it runs
Trigger: When another workflow calls it.
- ReadIncidentContext (Code): runs custom JavaScript code
- Call 'attachmentsAnalyzer' (Execute Sub-workflow): calls another n8n workflow
- Merge: merges the data from its input branches
- Edit Fields (Edit Fields (Set)): sets 2 fields: attachments_context, attachments_count
- SetVars (Edit Fields (Set)): sets 9 fields: MATTERMOST_URL, reply_root_id, JIRA_URL…
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 3 tools (Mattermost, HTTP Request, Qdrant Vector Store)
- Parse Agent Output (Code): runs custom JavaScript code
- Create an issue (Jira Software): uses Jira Software
- Post a message (Mattermost): uses Mattermost
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 (13)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Http Request Tool
n8n-nodes-base.httpRequestTool - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Code
n8n-nodes-base.code - Jira Software
n8n-nodes-base.jira - Mattermost
n8n-nodes-base.mattermost - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool - Merge
n8n-nodes-base.merge - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
Overview This is a sub-workflow that converts a free-form DevOps request posted in Mattermost into a properly formatted Jira task Requirements OpenRouter/OpenAI/Anthropic API key Google Gemini API key — for embeddings Jira API credentials — Cloud or Server.…