Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. Webhook
  2. Switch
  3. Basic LLM Chain
  4. OpenAI Chat Model
  5. Send a Message

Similar automations