Document RAG & chat agent: Google Drive to Qdrant with Mistral OCR
Knowledge & search workflow for n8n with 25 active steps. Starts with Chat Trigger, Manual Trigger. Uses OpenAI, Mistral AI. Integrations include OpenAI, Qdrant, Google Drive, Mistral AI.
What it does
25 active nodes · Starts with Chat Trigger, Manual Trigger.
Steps in the template include:
- Embeddings OpenAI1 (Embeddings OpenAI)
- OpenAI Chat Model1 (OpenAI Chat Model)
- Web Search (HTTP Request Tool)
- Simple Memory1 (Simple Memory)
Nodes and integrations
- Embeddings OpenAI ×2
- OpenAI Chat Model
- HTTP Request Tool
- Simple Memory
- Qdrant Vector Store ×2
- Chat Trigger
- Default Data Loader
- Character Text Splitter
- Google Drive ×2
- HTTP Request ×3
- Manual Trigger
- Mistral Cloud Chat Model
- AI Agent
- Loop Over Items (Split in Batches)
- Edit Fields (Set) ×2
- If
- Information Extractor
- Code ×2
See the author’s step names
- Embeddings OpenAI1 (Embeddings OpenAI)
- OpenAI Chat Model1 (OpenAI Chat Model)
- Web Search (HTTP Request Tool)
- Simple Memory1 (Simple Memory)
- Qdrant Vector Store (Qdrant Vector Store)
- When chat message received (Chat Trigger)
- Default Data Loader (Default Data Loader)
- Character Text Splitter (Character Text Splitter)
- Google Drive (Google Drive) — fileFolder
- Google Drive1 (Google Drive) — download
- Mistral Upload (HTTP Request)
- Mistral Signed URL (HTTP Request)
- Mistral DOC OCR (HTTP Request)
- When clicking ‘Test workflow’ (Manual Trigger)
- Embeddings OpenAI (Embeddings OpenAI)
- Qdrant Vector Store1 (Qdrant Vector Store)
- Mistral Cloud Chat Model (Mistral Cloud Chat Model)
- ai chat agent (AI Agent)
- Loop Over each file in gdrive folder (Loop Over Items (Split in Batches))
- add metadata (Edit Fields (Set))
- If NODE (If)
- based file name it assign differ metadata (Information Extractor)
- set all metadata (Edit Fields (Set))
- clean output (Code)
- convert data into smaller chunks (Code)
Accounts and credentials
- OpenAI access
- Qdrant
- Google Drive
- Mistral AI access
- Mistral AI
Credential types in the graph: openAiApi, qdrantApi, googleDriveOAuth2Api, mistralCloudApi
Check the HTTP request steps for any additional service accounts or API keys.
AI models and swaps
OpenAI · Embeddings
Model ID not specified in the template in Embeddings OpenAI1. Changing the embedding model may require rebuilding the vector index and matching its dimensions.
OpenAI · Chat
gpt-4.1-mini in OpenAI Chat Model1. Potentially swappable with a compatible n8n chat model node. Match tool calling before testing.
Mistral AI · Model or API operation
Model ID not specified in the template in Mistral Upload. Provider-specific step. A different provider requires edits and testing.
Mistral AI · Model or API operation
Model ID not specified in the template in Mistral DOC OCR. Provider-specific step. A different provider requires edits and testing.
OpenAI · Embeddings
text-embedding-3-small in Embeddings OpenAI. Changing the embedding model may require rebuilding the vector index and matching its dimensions.
Mistral AI · Chat
mistral-small-latest in Mistral Cloud Chat Model. Potentially swappable with a compatible n8n chat model node. Test the replacement with the next step.
Inputs and setup options
- OpenAI Chat Model1: temperature 0.5
- When chat message received: public chat is enabled in the template
Resource information
- Credit basis
- Author listed by n8n
- Pricing
- Template access shown on n8n
- License
- Not specified
- Last record update
- Nov 5, 2026
