Library / Chatbots & Messaging Bots
Chatbots & Messaging Bots
Answer Slack slash commands and channel messages with an OpenAI chatbot
Webhook receives Slack slash commands and messages, then OpenAI generates replies that are posted back to Slack, including public channels. Runs on each incoming webhook call.
What it does
## Create an AI chatbot with Slack slash commands! 🤖 In this tutorial, we'll show you how to create an AI chatbot that works in Slack using n8n. We'll explain step by step how to implement a practical chatbot, from personal messages through slash commands to automatic responses in public channels. We'll cover everything in detail, from Slack app configuration to n8n node setup, webhook trigger configuration, and AI bot integration. The YouTube video is provided in Korean. Youtube Link: {{ $env.WEBHOOK_URL }}
The steps
- Webhook
- Switch
- Basic LLM Chain
- OpenAI Chat Model
- Send a Message
Similar automations
Chatbots & Messaging BotsBuild an OpenAI Chatbot with Slack Slash Commands5 stepsChatbots & Messaging BotsBuild a Telegram Bot with Menu-Driven Commands21 stepsChatbots & Messaging BotsBitrix24 Open Channel RAG Chatbot with Gemini134 stepsTasks & Project ManagementCreate ClickUp Tasks from Slack Slash Commands via Webhook4 steps