Templates / Build and update RAG system with Google Drive, Qdrant, and Gemini Chat

Build and update RAG system with Google Drive, Qdrant, and Gemini Chat

Ready for 3.0

by Davide Boizza ✓ · 8,612 views · created 2025-06-23 · Internal Wiki, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 24 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Embeddings OpenAI, Qdrant Vector Store, Google Drive and Google Gemini Chat Model. It also calls qdranturl over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Clear collection (HTTP Request): calls an HTTP API (POST)
  2. Question and Answer Chain: answers questions over your documents (RAG), with model: Google Gemini Chat Model; retriever: Vector Store Retriever
  3. Get files (Google Drive): work with file folder
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Download files (Google Drive): download
  6. Qdrant Vector Store: stores documents in the Qdrant vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  7. Wait: pauses before continuing
  8. Create collection (HTTP Request): calls qdranturl (PUT)
  9. Edit Fields (Edit Fields (Set)): sets 1 field: file_id
  10. Download file (Google Drive): download

…plus 2 more steps. See the full node list below.

Services it uses

Embeddings OpenAIQdrant Vector StoreGoogle DriveGoogle Gemini Chat Model

HTTP calls to: qdranturl

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.

Nodes used (14)

From the author

This workflow automates the creation and management of a Retrieval-Augmented Generation (RAG) system using Qdrant as a vector store and Google Drive as the document source. It enables full or incremental updates to documents in the Qdrant vector database and…

Excerpt from Davide Boizza's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.