This n8n workflow creates a Slack AI chatbot leveraging slash commands and OpenAI’s GPT models. It enables users to trigger AI-powered responses directly within Slack, making it ideal for automating customer support, team assistance, or engaging interactions. The workflow begins with a webhook that listens for slash command requests from Slack. These commands are then routed through a switch node to handle different types of commands, such as ‘/ask’. For relevant commands, the workflow sends the input text to OpenAI’s GPT-4 model via the langchain nodes. Finally, the generated AI responses are sent back to Slack as messages, allowing seamless, automated conversations. This setup is particularly useful for teams seeking to integrate AI chat capabilities into their Slack workspace with minimal manual intervention.
Slack AI Chatbot with n8n and OpenAI Integration
Node Count | 11 – 20 Nodes |
---|---|
Nodes Used | @n8n/n8n-nodes-langchain.chainLlm, @n8n/n8n-nodes-langchain.lmChatOpenAi, slack, stickyNote, switch, webhook |
Reviews
There are no reviews yet.