Templates / Create RAG-ready knowledge bases from websites using Apify, Gemini & Supabase

Create RAG-ready knowledge bases from websites using Apify, Gemini & Supabase

Ready for 3.0

by Dean Pike ✓ · 489 views · created 2025-11-06 · Document Extraction, 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 13 nodes and runs when someone submits an n8n form (“Enter Website URL and Settings”). Along the way it connects Supabase Vector Store and Embeddings Google Gemini. It also calls api.apify.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Enter Website URL and Settings”).

  1. Set Data in Correct Request Format (Edit Fields (Set)): sets 4 fields: url, scrapeAll, maxCrawlPages…
  2. Prepare Settings for Apify Web Scraper (Switch): routes items into 2 branches
  3. No Limit to Number of Scraped Pages? (If): checks a condition and branches into true / false
  4. Run Apify Scraper: Scrape 1 URL Only (HTTP Request): calls api.apify.com (POST)
  5. Run Apify Scraper: Scrape All - No Limit (HTTP Request): calls api.apify.com (POST)
  6. Run Apify Scraper: Scrape All - w/Limit (HTTP Request): calls api.apify.com (POST)
  7. Clean Data (Edit Fields (Set)): sets 2 fields: url, markdown
  8. Improve Content Structure Quality (Code): runs custom JavaScript code
  9. Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Embeddings Google Gemini; document loader: Default Data Loader

Services it uses

Supabase Vector StoreEmbeddings Google Gemini

HTTP calls to: api.apify.com

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

From the author

Convert any website into a searchable vector database for AI chatbots. Submit a URL, choose scraping scope, and this workflow handles everything: scraping, cleaning, chunking, embedding, and storing in Supabase. What it does - Scrapes websites using Apify (3…

Excerpt from Dean Pike'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.