Slack AI chatbot for business team with RAG, Claude 3.7 Sonnet and Google Drive
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Embeddings OpenAI, Qdrant Vector Store, Slack and Google Drive and 1 more. It also calls qdranturl over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Create collection (HTTP Request): calls qdranturl (POST)
- Refresh collection (HTTP Request): calls an HTTP API (POST)
- AI Agent: runs an AI agent, with model: Anthropic Chat Model; 2 tools (RAG, Calculator); memory: Simple Memory
- Get folder (Google Drive): work with file folder
- Send message (Slack): uses Slack
- Download Files (Google Drive): download
- Qdrant Vector Store: stores documents in the Qdrant vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
Services it uses
HTTP calls to: qdranturl
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- Also check Slack Trigger requires a signing secret on the Slack API credential.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Calculator
@n8n/n8n-nodes-langchain.toolCalculator - Slack Trigger
n8n-nodes-base.slackTrigger - Slack
n8n-nodes-base.slack - Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Token Splitter
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
From the author
Imagine having an AI chatbot on Slack that seamlessly integrates with your company’s workflow, automating repetitive requests. No more digging through emails or documents to find answers about IT requests, company policies, or vacation days—just ask the bot,…