Slack AI with RAG for company employees
Workflow Description
An integrated AI agent operating through Slack that uses Retrieval-Augmented Generation (RAG) to answer employee questions based on company documents stored in Google Drive, featuring intelligent conversation memory and built-in computational capabilities.
How it works
- 1.Trigger the agent when a message arrives in Slack
- 2.Process the question and retrieve relevant documents from the Vector Store
- 3.Generate an accurate response using an advanced language model while maintaining conversation context
Use cases
- Provide instant answers to employee questions about company policies and procedures
- Deliver accurate information from company documentation without manual intervention
Requirements
- Connected Slack account with proper message integration permissions
- Secure access to Google Drive and company document storage
- Valid API keys for OpenAI, Anthropic, and Qdrant vector database service
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (21)
AI Agent
Agent
Simple Memory
Memory Buffer Window
Embeddings OpenAI1
OpenAI
RAG
Vector Store Qdrant
Calculator
Tool Calculator
Get message
Slack Trigger
Send message
Slack
When clicking ‘Test workflow’
Manual Trigger
Create collection
HTTP Request
Refresh collection
HTTP Request
Get folder
Google Drive
Download Files
Google Drive
Default Data Loader
Document Default Data Loader
Token Splitter
Text Splitter Token Splitter
Sticky Note3
Sticky Note
Qdrant Vector Store1
Vector Store Qdrant
Sticky Note5
Sticky Note
Sticky Note2
Sticky Note
Embeddings OpenAI2
OpenAI
Sticky Note4
Sticky Note
Anthropic Chat Model
Lm Chat Anthropic