Create an AI Chatbot with Slack Slash Commands
detail.loadingPreview
Build an AI chatbot integrated with Slack using n8n and slash commands.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow demonstrates how to create an AI chatbot that responds to Slack slash commands. It guides you through setting up a Slack app, configuring n8n nodes, and integrating an AI model to handle user requests.
Key Features
- Trigger workflows via Slack slash commands.
- Route commands to different AI responses.
- Integrate with AI models (e.g., OpenAI).
- Send AI-generated messages back to Slack channels.
How To Use
- Set up a Slack App with slash commands.
- Configure the
Webhooknode in n8n with your Slack app's request URL. - Use the
Switchnode to route different slash commands. - Connect AI nodes (like
Basic LLM ChainandOpenAI Chat Model) to process commands. - Use the
Send a Messagenode to post AI responses back to Slack.
Apps Used
Workflow JSON
{
"id": "43bd27c5-2ade-46cb-a98b-88eb4b51b1cf",
"name": "Create an AI Chatbot with Slack Slash Commands",
"nodes": 0,
"category": "Slack Integrations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 43bd27c5-2ade...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Slack Community AI Assistant
Processes Slack messages using an AI agent and responds back to the channel, with conversation history maintained.
Slack Image Upload Modal
Opens a Slack modal for users to upload images to a public S3 CDN.
Onfleet Driver Signup Slack Notification
Sends a Slack message when a new driver signs up in Onfleet.
Slack AI Assistant Community Template
A community-contributed template for an AI-powered Slack bot that responds to messages using Gemini and maintains conversation history.
Google Calendar Meeting Reminder
Sends a daily Slack message with upcoming meeting details from Google Calendar.
Automate Venafi Certificate CSR Generation via Slack
This n8n workflow automates the generation of Venafi Certificate Signing Requests (CSRs) directly from Slack. It leverages Slack's Events API and modal interactions to trigger CSR creation, enhancing security operations efficiency.