Templates / Seed a Supabase AI knowledge base from Notion with Ollama embeddings

Seed a Supabase AI knowledge base from Notion with Ollama embeddings

Ready for 3.0

by Nev · 3 views · created 2026-08-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 11 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Notion, Supabase Vector Store and Embeddings Ollama.

How it runs

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

  1. Remove Existing Embeddings (HTTP Request): calls an HTTP API (DELETE)
  2. Get Notion Pages (Notion): get many (database page)
  3. Fetch Page Blocks (Notion): get many (block)
  4. Aggregate Block Text (Code): runs custom JavaScript code
  5. Skip Empty Pages (If): checks a condition and branches into true / false
  6. Insert into Knowledge Store (Supabase Vector Store): stores documents in the Supabase vector store, with embeddings: Generate Embeddings Ollama; document loader: Load Default Data

Services it uses

NotionSupabase Vector StoreEmbeddings Ollama

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

Quick overview This n8n template ingests your entire Notion database into a Supabase vector store, making every page searchable by an AI assistant or chatbot. It runs on a schedule to keep your knowledge base in sync automatically, and each run is safe to…

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