Templates / 🤖 Build a Documentation Expert Chatbot with Gemini RAG Pipeline

🤖 Build a Documentation Expert Chatbot with Gemini RAG Pipeline

Ready for 3.0

by Lucas Peyrin ✓ · 18,833 views · created 2025-07-18 · 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 23 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Google Gemini Chat Model and Embeddings Google Gemini. It also calls docs.n8n.io over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).

  1. Get All n8n Documentation Links (HTTP Request): calls docs.n8n.io
  2. Get Documentation Page (HTTP Request): calls an HTTP API
  3. n8n Docs AI Agent (AI Agent): runs an AI agent, with model: Gemini 2.5 Flash; 1 tool (Official n8n Documentation); memory: Simple Memory
  4. Extract Links from HTML (HTML): parses or builds HTML
  5. Extract Documentation Content (HTML): parses or builds HTML
  6. Split Out: splits a list into separate items
  7. Clean Documentation (Edit Fields (Set)): sets 1 field: documentation
  8. Remove Duplicate Links (Remove Duplicates): removes duplicate items
  9. Remove Duplicate Documentation Content (Remove Duplicates): removes duplicate items
  10. Only Keep Doc Paths (Filter): keeps only the items that match a condition

…plus 3 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelEmbeddings Google Gemini

HTTP calls to: docs.n8n.io

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

From the author

How 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…

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