Slack workflow router: AI-powered workflow selection
Ready for 3.0Ready 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-12-01.
What this workflow does
This AI workflow has 11 nodes and runs on Slack events. Along the way it connects OpenAI Chat Model, Slack and Data table.
How it runs
Trigger: On Slack events.
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Get the list of workflows)
- Parse JSON output (Edit Fields (Set)): sets 2 fields: workflow_id, workflow_name
- Is there a matching workflow? (If): checks a condition and branches into true / false
- Send "executing workflow" message (Slack): uses Slack
- Send message: no workflow found (Slack): uses Slack
- Execute Workflow (Execute Sub-workflow): calls another n8n workflow
- Send message: success (Slack): uses Slack
- Send message: error occurred (Slack): uses Slack
Services it uses
Other OpenAI + Slack templates (979)
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.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).
Nodes used (8)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Slack Trigger
n8n-nodes-base.slackTrigger - Data Table Tool
n8n-nodes-base.dataTableTool - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack - If
n8n-nodes-base.if - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
Slack Workflow Router: AI-Powered Workflow Selection Problem Statement Slack only allows one webhook per Slack app, and n8n generates a unique webhook for each workflow. This limitation means you typically need to create multiple Slack apps to trigger…