Turn your Slack workspace into a smart AI-powered HelpDesk using this workflow.
This automation listens to Slack messages and uses an AI assistant (powered by OpenAI or any other LLM) to respond to employee questions about HR, IT, or internal policies by referencing your internal documentation (such as the Policy Handbook).
If the answer isn't available, it can optionally email the relevant department (HR or IT) and ask them to update the handbook.
It remembers recent messages per user, cleans up intermediate responses to keep Slack threads tidy, and ensures your team gets consistent and helpful answers—without manually searching docs or escalating simple questions.
Perfect for growing teams who want to streamline internal support using n8n, Slack, and AI.
This workflow turns n8n into a Slack-based HelpDesk assistant powered by AI. It listens to Slack messages using the Events API, detects whether a real user is asking a question, and responds using OpenAI (or another LLM of your choice). Here's how it works step-by-step:
Webhook Trigger: The workflow starts when a message is posted in Slack via the Events API. It filters out any messages from bots to avoid loops.
Identify the User: It fetches the full Slack profile of the user who posted the message and stores their name.
Send Receipt Message: An initial message is sent to the user saying, “I’m on it!”, confirming their request is being processed.
AI Response Handling:
The message is processed using the OpenAI Chat model (GPT-4o by default).
Before responding, it checks if the query matches any HR or IT policy from the Policy Handbook.
If the question can’t be answered based on internal data, it can optionally alert the HR or IT department via Gmail (after user confirmation).
Memory Retention: It keeps track of the last 5 interactions per user using Simple Memory, so it remembers previous context in a Slack conversation.
Cleanup and Final Reply: It deletes the initial receipt message and sends a final, clean response to the user.
Clone the Workflow: Download or import the JSON workflow into your n8n instance.
Edit the initial and final Slack message nodes if you want to personalize the wording.
Swap out the LLM (ChatGPT) with your preferred model in the AI Agent node.