This is an example of how to build a Slack bot in a few easy steps.
Before starting, follow these steps:
- Create a copy of this workflow.
- Create a Slack bot.
- Set up a slash command on Slack and paste the webhook URL into the Slack command configuration.
Note
Make sure to configure the webhook URL with an https://
wrapper. Avoid using the default http://localhost:5678 URL, as it will not be recognized by Slack's webhook system.
Once data is sent to the webhook, it will be processed via an AI Agent based on the query provided. To maintain conversation memory, set the Slack token to the memory node so the bot can reference previous chats.
The final message will be sent back to Slack as a new message. Since Slack requires responses within 3000 ms, we will create a new message with a reference to the original input message.
This bot can be customized using additional tools or data sources to better fit your company’s needs.
Usage
To use the Slack bot, go to Slack and use your configured slash command (e.g., /Bob
) followed by your message.
The message will be sent to your endpoint and the processed results will be returned as a new message.
If you need help setting this up, feel free to contact zacharia@effibotics.com.
Other Workflows like this one
Your connected stack awaits to automate AI workflows with 24-7 uptime performance and engagement