This workflow corresponds to n8n.io template #5186 — we link there as the canonical source.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"id": "96d19fc8-617e-4a7f-b52d-7c5a4ef7d531",
"name": "Workflow Overview 0",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1480,
120
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "df8b4a63-40af-4ed3-9639-d620cd264d2e",
"name": "Mattermost Tool MCP Server",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
-420,
-160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "fdf31370-3e58-4c58-b4f9-239fbc76e063",
"name": "Add a user to a channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-800,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "13f95d4e-7e3e-4e53-9e73-46c7ec39a058",
"name": "Create a channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-580,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "36e10d7f-7ff6-43b8-8f2c-4d6b816e3640",
"name": "Delete a channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-360,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9c571270-f4a2-4a18-b3aa-fdfa805203f6",
"name": "Get a page of members for a channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-140,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "828c4859-540b-4e7a-9ed1-da4fd917703d",
"name": "Restore a soft-deleted channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
80,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2b7c327c-a0e0-475e-a159-e09bede1b0ea",
"name": "Search for a channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
300,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9ae10761-dd79-45c8-8de0-18899b22c433",
"name": "Get statistics for a channel",
"type": "n8n-nodes-base.mattermostTool",
"position": [
520,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "320b38b9-6d29-49b6-aead-da1aaa746527",
"name": "Sticky Note 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
120
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "34d7c980-04d6-4e10-aa82-e2166292cbcb",
"name": "Delete a message",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-800,
380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "12539ed7-c1f8-40a4-8235-fb93781e03ad",
"name": "Post a message",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-580,
380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9dee0a6c-8a47-44aa-8067-0658c52c3a63",
"name": "Post an ephemeral message",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-360,
380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0245adb7-3fcc-443c-9a92-3f65cc068121",
"name": "Sticky Note 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
360
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ccaa999e-bf12-4abe-950b-3e57ad89bcff",
"name": "Create a reaction",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-800,
620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "86241d0f-4579-43c4-a7b0-16bca0c56b09",
"name": "Delete a reaction",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-580,
620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c5367cac-77d8-4e1c-93ad-609e949439cc",
"name": "Get many reactions",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-360,
620
],
"parameters": {},
"typeVersion": 1
},
{
"id": "19a10bb5-c667-4528-9324-227ab7b842d0",
"name": "Sticky Note 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
600
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "46640369-1d86-45a0-bd34-7b9bed143ba7",
"name": "Create a user",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-800,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "27eb2f82-ec51-429b-b8d4-b29fc8e6e329",
"name": "Deactivate a user",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-580,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4755b1ec-cf45-4f9e-a33b-52cafc5c2b46",
"name": "Get a user by email",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-360,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f403857f-f93c-4a67-b011-91c785d30eaf",
"name": "Get a user by ID",
"type": "n8n-nodes-base.mattermostTool",
"position": [
-140,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6e08f3cc-af90-44de-864d-bcde1afe0024",
"name": "Get many users",
"type": "n8n-nodes-base.mattermostTool",
"position": [
80,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "143213c7-ebd9-4f89-88ce-ec8a78c95f65",
"name": "Invite a user",
"type": "n8n-nodes-base.mattermostTool",
"position": [
300,
860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "63b3e3ac-de20-4147-912f-7c4f9427ba72",
"name": "Sticky Note 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1000,
840
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"Create a user": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Invite a user": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get many users": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Post a message": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create a channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete a channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete a message": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get a user by ID": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create a reaction": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Deactivate a user": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Delete a reaction": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get many reactions": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get a user by email": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search for a channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Add a user to a channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Post an ephemeral message": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get statistics for a channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Restore a soft-deleted channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get a page of members for a channel": {
"ai_tool": [
[
{
"node": "Mattermost Tool MCP Server",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?
Source: https://n8n.io/workflows/5186/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?
Discord MCP Server. Uses discordTool, mcpTrigger, httpRequestTool, stickyNote. Event-driven trigger; 16 nodes.
Auto-create and publish AI social videos with Telegram, GPT-4 and Blotato. Uses httpRequest, stickyNote, telegramTrigger, telegram. Event-driven trigger; 42 nodes.
This workflow lets customers order and refill prescriptions via Telegram by extracting medicines from prescription images with Google Gemini, checking and updating inventory in Google Sheets, and send
This workflow handles customer order complaints submitted via Telegram by looking up order details in Google Sheets, using OpenAI to classify message sentiment, and routing each case to auto-approval,