Hr policy retrieval using Slack, S3, and GPT-4.1-mini with RAG
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Slack, Vector Store Question Answer, Embeddings OpenAI and OpenAI Chat Model and 1 more.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- S3 Document Downloader (AWS S3): uses AWS S3
- Chatbot (AI Agent): runs an AI agent, with model: Conversation Model; 1 tool (Knowledge Base Search); memory: Simple Memory
- Knowledge Base storage (Simple Vector Store): uses the Simple vector store, with embeddings: Knowledge Base Embeddings Generator; document loader: Document Loader
- Response (Edit Fields (Set)): sets or maps fields
- Try Again (Edit Fields (Set)): sets or maps fields
- Send a message (Slack): uses Slack
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).
Nodes used (12)
- Slack Trigger
n8n-nodes-base.slackTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Vector Store Question Answer Tool
@n8n/n8n-nodes-langchain.toolVectorStore - Simple Vector Store
@n8n/n8n-nodes-langchain.vectorStoreInMemory - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Manual Trigger
n8n-nodes-base.manualTrigger - AWS S3
n8n-nodes-base.awsS3 - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack
From the author
HR Chatbot with RAG: Retrieve Company Policies via Slack, Amazon S3, and OpenAI Overview Answer HR and company policy questions via Slack, powered by a Knowledge Base of internal documents stored in S3. The assistant uses vector search and an OpenAI Chat…