Templates / 🤖 Create a Documentation Expert Bot with RAG, Gemini, and Supabase

🤖 Create a Documentation Expert Bot with RAG, Gemini, and Supabase

Ready for 3.0

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

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 3 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. Keep Supabase Instance Alive (Supabase): get many
  4. n8n Docs AI Agent (AI Agent): runs an AI agent, with model: Gemini 2.5 Flash; 1 tool (Official n8n Documentation); memory: Simple Memory
  5. Extract Links from HTML (HTML): parses or builds HTML
  6. Extract Documentation Content (HTML): parses or builds HTML
  7. Split Out: splits a list into separate items
  8. Clean Documentation (Edit Fields (Set)): sets 1 field: documentation
  9. Remove Duplicate Links (Remove Duplicates): removes duplicate items
  10. Remove Duplicate Documentation Content (Remove Duplicates): removes duplicate items

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

Services it uses

Supabase Vector StoreGoogle Gemini Chat ModelEmbeddings Google GeminiSupabase

HTTP calls to: docs.n8n.io

Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).

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

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.