Slack slash commands AI chat bot
This is a response chatbot in public channels through slash commands. I explain more in detail through the YouTube video, but it's only available in Korean. ...
🔌 Nodes & Integrations Used (3)
📖 Implementation & Setup Guide
This is a response chatbot in public channels through slash commands. I explain more in detail through the [YouTube video](https://www.youtube.com/watch?v=UpudYFCWaIM), but it's only available in Korean.
How it works?
When you request the created slash command in Slack, the request comes to the webhook. Then, the Switch Node branches appropriately according to each slash command request. Here, a slash command called `/ask` is connected to the chatbot, and the chatbot generates answers to the questions asked. The final node responds to the channel.
Set up steps
- Create a Slack app.
- Add `chat:write` permission in Slack OAuth&Permissions>Scopes.
- Create a Command in Slack Slash Commands menu and enter the n8n Webhook node's URL.
- Complete creating the Slash Commands.
- Enter the created command in the Switch node.
<br />
---
<br />
슬래시 커맨드를 통한 공개 채널에서의 응답 챗봇 입니다. [유튜브 영상](https://www.youtube.com/watch?v=UpudYFCWaIM)에 더 자세하게 설명 드립니다.
설명
슬랙에 생성한 슬래시 커맨드를 슬랙에서 요청하면 웹훅에 요청이 들어옵니다. 이후 Switch Node에서 각 슬래시 커맨드의 요청에 따라 알맞게 분기합니다. 여기에서는 `/ask`라는 슬래시 커맨드가 챗봇으로 연결되어 있고, 챗봇에서 질문한 내용의 답변을 생성합니다. 마지막 노드에서 채널로 응답을 합니다.
설정 방법
- Slack 앱을 만드세요.
- Slack OAuth&Permissions>Scopes 에서 `chat:write` 권한을 추가하세요.
- Slack Slash Commands 메뉴에서 Command를 생성하고, n8n Webhook 노드의 url을 입력하세요.
- Slash Slash Commands 생성을 완료하세요.
- Switch 노드에 생성한 커맨드를 입력하세요.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Slack slash commands AI chat bot.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....