Process documents & build semantic search with OpenAI, Gemini & Qdrant
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs on Google Drive events (file created) (plus 3 other triggers). Along the way it connects Google Drive, Qdrant Vector Store, Embeddings OpenAI and Google Gemini Chat Model.
How it runs
Trigger: On Google Drive events (file created) (plus 3 other triggers).
- List Files in Google Drive Folder (Google Drive): work with file folder
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Qdrant Vector Store); memory: Simple Memory
- Split Form Files (Code): runs custom JavaScript code
- Download File (Google Drive): download
- Split Form Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Delete File (Google Drive): delete file
- Insert to Qdrant (Qdrant Vector Store): stores documents in the Qdrant vector store, with embeddings: Embeddings OpenAI; document loader: Data Loader for Google Drive Files
- Insert to Qdrant (Qdrant Vector Store): stores documents in the Qdrant vector store, with embeddings: Embeddings OpenAI; document loader: Data Loader for Form Files
- Merge: merges the data from its input branches
Services it uses
Other OpenAI + Google Drive templates (628) · Other Google Gemini + Google Drive templates (272) · Other OpenAI + Google Gemini templates (249)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (15)
- Google Drive
n8n-nodes-base.googleDrive - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - n8n Form Trigger
n8n-nodes-base.formTrigger - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Code
n8n-nodes-base.code - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Manual Trigger
n8n-nodes-base.manualTrigger - Merge
n8n-nodes-base.merge
From the author
🎯 Overview This n8n workflow automates the process of ingesting documents from multiple sources (Google Drive and web forms) into a Qdrant vector database for semantic search capabilities. It handles batch processing, document analysis, embedding generation,…