Templates / Local chatbot with retrieval augmented generation (RAG)

Local chatbot with retrieval augmented generation (RAG)

Ready for 3.0

by Thomas Janssen ✓ · 140,168 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Qdrant Vector Store, Embeddings Ollama and Ollama Chat Model.

How it runs

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

  1. AI Agent: runs an AI agent, with model: Ollama Chat Model; 1 tool (Qdrant Vector Store); memory: Simple Memory
  2. Qdrant Vector Store: stores documents in the Qdrant vector store, with embeddings: Embeddings Ollama; document loader: Default Data Loader

Services it uses

Qdrant Vector StoreEmbeddings OllamaOllama 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 (9)

From the author

Build a 100% local RAG with n8n, Ollama and Qdrant. This agent uses a semantic database (Qdrant) to answer questions about PDF files. Tutorial Click here to view the YouTube Tutorial How it works Build a chatbot that answers based on documents you provide it…

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