workflows.fit
Back to n8n workflows
n8n templateFreeBy Ertay Kaya

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

CommunicationHITLAILangchainCore NodesAgentLm Chat Open AiSlack Trigger
Loading interactive preview...

Template notes

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: workflowid, workflowname, and workflowdescription. 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.