The first version of a RAG system always looks convincing. You connect a document loader, a vector database, and a large model, ask a question, and the answer comes back with impressive confidence.
Then production happens.
A support agent asks about a refund policy that changed last week, and the bot answers with the old policy. A user from the finance team sees chunks they should never see. Gemini starts returning 429 errors during a reindex. A 3,000-document ingestion workflow fails at document 2,412, and you have no idea how to resume safely.
That is the gap between a RAG demo and a production RAG pipeline.
This walkthrough focuses on building a maintainable retrieval-augmented generation pipeline using n8n for orchestration, Qdrant for vector storage and filtered retrieval, and Gemini for embedding and answer generation. The goal is not just “make it answer.” The goal is to make it operable: idempotent ingestion, access-controlled retrieval, retry-safe automation, grounded answers, and a path for evaluation.






