🤖 Build a Documentation Expert Chatbot with Gemini RAG Pipeline
n8n template #6137Summary
Use templateHow it works This template is a complete, hands-on tutorial for building a RAG (Retrieval-Augmented Generation) pipeline. In simple terms, you'll teach an AI to become an expert on a specific topic—in this case, the official n8n documentation—and then build a chatbot to ask it questions. Think of it like this: instead of a general-knowledge AI, you're building an expert librarian. The workflow is split into two main parts: Part 1: Indexing the Knowledge (Building the Library) This is a one-time process you run manually. The workflow automatically scrapes all pages of the n8n documentation, breaks them down into small, digestible chunks, and uses an AI model to create a special numerical repr
How to set it up
- Open template #6137 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 2 credentials under Credentials → Add credential: Embeddings Google Gemini, Google Gemini Chat Model. Then open each of those nodes and pick the credential.
- Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "🤖 Build a Documentation Expert Chatbot with Gemini RAG Pipeline" (https://n8n.io/workflows/6137). It uses: HTTP Request, HTML, AI Agent, Simple Memory, Recursive Character Text Splitter, Simple Vector Store, Default Data Loader, Embeddings Google Gemini, Google Gemini Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
HTTP RequestHTMLAI AgentSimple MemoryRecursive Character Text SplitterSimple Vector StoreDefault Data LoaderEmbeddings Google GeminiGoogle Gemini Chat Model
Questions
Yes. Lucas Peyrin published it free on n8n.io as a verified creator, and it has 17K views. It runs on n8n Cloud or a self-hosted n8n instance.
Embeddings Google Gemini, Google Gemini Chat Model. The other 7 nodes are built into n8n.
Similar workflows
NameViews
- 🤖 Create a Documentation Expert Bot with RAG, Gemini, and Supabase31K
- Explore n8n Nodes in a Visual Reference Library5,197
- Personal Portfolio CV Rag Chatbot - with Conversation Store and Email Summary3,462
- Building Your First WhatsApp Chatbot332K
- RAG Chatbot for Company Documents using Google Drive and Gemini95K
- Document Q&A Chatbot with Gemini AI and Supabase Vector Search for Telegram17K
- Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K
- AI-Powered WhatsApp Chatbot for Text, Voice, Images, and PDF with RAG47K