Use this powerful n8n workflow to dynamically execute multiple n8n automations from a single Slack mention. Features AI-powered routing and centralized workflow management using the n8n Data Table node.
Download this n8n workflow template and start using it instantly.
Users who need to trigger multiple, distinct automations using a single Slack application.
Developers looking for advanced n8n templates showcasing AI routing and dynamic workflow execution.
Teams seeking scalable Slack automation solutions without managing many separate webhooks.
Anyone interested in combining the power of an n8n trigger with AI agents for smart decision-making.
The standard limitation in Slack—requiring one webhook per Slack app—often forces users to create multiple apps just to trigger different n8n workflows. This sophisticated n8n workflow template acts as a central router, solving this scalability issue.
When your Slack app is mentioned, this router intercepts the message. An AI Agent analyzes the request against a comprehensive list of available automations (stored in an n8n Data Table). It then selects the precise n8n workflow required and executes it dynamically. This centralized approach simplifies maintenance and allows you to manage all your potential n8n automation via a single, smart n8n trigger.
Slack Trigger n8n node detects an @appmention in a designated channel, capturing the user's request.Get the list of workflows n8n node retrieves the master list of all available n8n workflows (including their ID, name, and description) from an n8n Data Table. This data serves as the knowledge base for the AI.AI Agent n8n node, powered by an OpenAI Chat Model, analyzes the user's message alongside the list of workflows. The agent is strictly instructed to return a JSON object containing the workflowid and workflowname of the best match, or notfound if no n8n workflow fits the request.Parse JSON output n8n node extracts the determined workflowid and workflowname from the AI's output, preparing the data for execution.If n8n node (Is there a matching workflow?) checks if the ID is not_found.Execute Workflow n8n node then dynamically calls the corresponding n8n workflow using the retrieved ID.To deploy this powerful n8n template, follow these steps:
Slack Trigger and the OpenAI Chat Model n8n node.workflowid: The alphanumeric ID of the target n8n workflow.workflowname: A user-friendly name.workflow_description: A detailed description for the AI Agent to reference.Slack Trigger n8n trigger node to listen to the correct Channel ID where your Slack app is installed. Slack Trigger: The starting n8n trigger for the entire automation. Function: Listens for mentions of the Slack app (@appmention) to capture the user's request.
Get the list of workflows (Data Table Tool n8n node): Function: Reads the centralized list of available n8n templates and their descriptions. Key Configuration: Set to Operation: get and targeting a specific Data Table ID containing workflow metadata.
OpenAI Chat Model: The Large Language Model used by the agent for sophisticated decision-making.
AI Agent: Function: Serves as the intelligent router. It uses the input from the Slack trigger and the workflow list (from the Data Table) to select the single best n8n workflow ID to execute. Key Configuration: Uses a defined systemMessage to guide its role and enforces strict JSON output parsing.
Parse JSON output (Set n8n node): Function: Converts the string output of the AI Agent into usable variables (workflowid, workflowname) within the n8n flow.
Is there a matching workflow? (If n8n node): Function: Controls the flow path, checking if the workflowid retrieved by the AI is not equal to notfound.
workflowid. Key Configuration: Set to handle errors gracefully (onError: continueErrorOutput) and wait for the sub-workflow to complete.Secure your Slack webhooks using this crucial n8n workflow template. It verifies the request signature via HMAC-SHA256 hashing, ensuring data authenticity and preventing malicious injection. Use this n8n node sequence for robust security.

Use this powerful n8n workflow to create a custom Slack slash command for instant Japanese-English translation. It utilizes GPT-4o-mini and an n8n node structure for speed and accuracy.

Build a powerful Slack AI Chatbot n8n workflow using RAG, Qdrant, Google Drive, and Anthropic Claude 3.7. Automate internal queries instantly with this high-density n8n template.

Use this powerful n8n workflow to create a dynamic AI chatbot directly inside Slack. It uses a Webhook n8n trigger to accept slash commands, processes queries via the OpenAI n8n node (gpt-4o-mini), and posts the response back instantly.

Automate instant and conversational responses in Slack Direct Messages and @mentions using this robust n8n workflow. Integrate OpenAI memory and generate context-aware replies.








































