Templates / Build a RAG agent with n8n, Qdrant & OpenAI

Build a RAG agent with n8n, Qdrant & OpenAI

Ready for 3.0

by Yulia ✓ · 2,235 views · created 2025-12-03 · 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 12 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Drive, Qdrant Vector Store, Embeddings OpenAI and OpenAI Chat Model.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Answer Questions (AI Agent): runs an AI agent, with model: Generate Response; 1 tool (Search Documents); memory: Store Conversation
  2. Download as Markdown (HTTP Request): calls an HTTP API
  3. Add Metadata (Merge): merges the data from its input branches
  4. Insert into Vector Store (Qdrant Vector Store): stores documents in the Qdrant vector store, with embeddings: Generate Embeddings; document loader: Load File Content & Metadata

Services it uses

Google DriveQdrant Vector StoreEmbeddings OpenAIOpenAI Chat Model

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 (11)

From the author

This template helps you to create an intelligent document assistant that can answer questions from uploaded files. It shows a complete single-vector RAG (Retrieval-Augmented Generation) system that automatically processes documents, lets you chat with it in…

Excerpt from Yulia'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.