Slack Workflow Router: AI-Powered Workflow Selection
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 multiple n8n workflows from Slack. This workflow solves that problem by acting as a gateway for a single Slack app, enabling it to trigger multiple n8n workflows.
How It Works When a message is received from Slack, an AI agent analyzes the message and selects the most suitable workflow to execute. The available workflows are stored in a data table, including their ID, name, and description, which the agent uses to make its decision. This approach allows you to manage and trigger multiple workflows from a single Slack app, making your Slack-to-n8n integration much more scalable and maintainable.
Key Features Trigger multiple n8n workflows from a single Slack app mention. AI-powered workflow selection based on user message and workflow descriptions. Centralized management of available workflows via a data table. Scalable and easy to maintain—no need to create multiple Slack apps.
Setup Instructions Create a data table in your n8n project with these columns: workflow_id, workflow_name, and workflow_description. Add your workflows to the table. Connect your Slack and OpenAI accounts. Deploy the workflow and mention your Slack app to trigger automations.
This template is ideal for teams who want to centralize and scale their Slack automation without creating multiple Slack apps.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments