Templates / Slack workflow router: AI-powered workflow selection

Slack workflow router: AI-powered workflow selection

Ready for 3.0

by Ertay Kaya ✓ · 129 views · created 2025-12-15 · Engineering, AI Chatbot

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

📬 Weekly n8n 3.0 breakage alerts, free

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.

  1. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Get the list of workflows)
  2. Parse JSON output (Edit Fields (Set)): sets 2 fields: workflow_id, workflow_name
  3. Is there a matching workflow? (If): checks a condition and branches into true / false
  4. Send "executing workflow" message (Slack): uses Slack
  5. Send message: no workflow found (Slack): uses Slack
  6. Execute Workflow (Execute Sub-workflow): calls another n8n workflow
  7. Send message: success (Slack): uses Slack
  8. Send message: error occurred (Slack): uses Slack

Services it uses

OpenAI Chat ModelSlackData table

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)

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…

Excerpt from Ertay Kaya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.