Skip to main content

Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini

Workflow preview

Workflow preview
100%
Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • DevOps automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.httprequesttool, @n8n/n8n-nodes-langchain.vectorstoreqdrant, @n8n/n8n-nodes-langchain.embeddingsgooglegemini

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
Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini
Workflow name
Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini

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.
  • Mattermost API credentials — to post the reply back to the channel
  • Qdrant instance
  • Remote MCP servers (see MCP section)
  • A sub-workflow that analyses attachments
  • A parent workflow that triggers this one via "Execute Workflow" with a properly shaped payload

How it works

  1. The workflow is triggered by Execute Workflow Trigger
  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 builds the Jira payload. The system prompt
  6. Parse Agent Output safely parses the agent's output enriches the Jira description.
  7. Create an issue creates a Task in the configured project with the chosen label and component.
  8. Post a message replies in the original thread with a confirmation containing a clickable Jira link.

How to use

  • Index your infrastructure docs into Qdrant using
  • Deploy the Mattermost MCP server and put its URL into the Mattermost MCP Client node
  • Deploy / import the attachmentsAnalyzer sub-workflow
  • Configure credentials in the workflow
  • Edit SetVars
  • Edit Create an issue — pick your own Jira project, issue type and component.
  • Tune the system prompt in AI Agent — adjust the direction labels and the few-shot examples to match your team's taxonomy.
  • Wire this workflow into your classifier ia an Execute Workflow node

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 - Sticky Note — Overview

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

Block 2 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 3 - SetVars

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

Block 4 - AI Agent

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

Block 5 - OpenRouter Chat Model

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

Block 6 - HTTP Request

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.4

Block 7 - Qdrant Vector Store

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

Block 8 - Embeddings Google Gemini

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

Block 9 - Parse Agent Output

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

Block 10 - Create an issue

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

Block 11 - Post a message

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

Block 12 - Mattermost

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

Block 13 - Edit Fields

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

Block 14 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 15 - ReadIncidentContext

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

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

Block 20 - Sticky Note4

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

Block 21 - Call 'attachmentsAnalyzer'

Type / Role
n8n-nodes-base.executeWorkflow - executeWorkflow
Config choices
Version 1.3

3. Summary Table

Workflow Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini
Complexity advanced
Nodes 21
Categories DevOps, AI RAG
Author Sergei Byvshev
Published 11 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15614/15614.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 Convert DevOps Mattermost requests into Jira tasks with OpenRouter GPT and Gemini do?

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

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 DevOps, AI RAG use case.