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.
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
1. Create a Slack app.
2. Add chat:write permission in Slack OAuth & Permissions > Scopes.
3. Create a Command in Slack Slash Commands menu and enter the n8n Webhook node’s URL.
4. Complete creating the Slash Commands.
5. Enter the created command in the Switch node.