RAG Pipeline Tutorial n8n: Build No-Code RAG in 10 Minutes
🩺 Summary
n8n (196K stars) lets you build production RAG with drag-and-drop.
📝 Details
n8n is a fair-code automation platform with 196K stars. Build complete RAG pipelines without writing Python.
What You Build
Watch folders for new docs, chunk, embed, store in Qdrant, answer questions.
1. Start n8n
docker run -it --rm --name n8n -p 5678:5678 n8nio/n8n
2. Ingestion
- Watch Folder trigger (60s poll)
- Extract from File node (PDF, DOCX, CSV, HTML)
- Recursive Character Splitter (1000/200)
- Ollama embeddings (nomic-embed-text)
- Qdrant Insert into my_docs
3. Query
- Webhook receives POST questions
- Embed question with same model
- Qdrant Retrieve top-K=5
- LLM generates from context
- Respond to webhook
n8n vs LangChain
| Factor | n8n | LangChain |
|---|---|---|
| Setup | 10 min | 2-5 days |
| Code | None | Python |
FAQ
PDFs with tables?
Use Qwen-VL for complex layouts.
Document limit?
Up to 10,000 with n8n + Qdrant.
💬 Comments (0)