Templates / Store Notion's Pages as Vector Documents into Supabase with OpenAI

Store Notion's Pages as Vector Documents into Supabase with OpenAI

Ready for 3.0

by Dataki ✓ · 7,037 views · created 2024-06-12 · 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 8 nodes and runs on Notion events. Along the way it connects Embeddings OpenAI, Notion and Supabase Vector Store.

How it runs

Trigger: On Notion events.

  1. Notion: get many (block)
  2. Filter: keeps only the items that match a condition
  3. Summarize: summarizes / groups the items
  4. Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Embeddings OpenAI; document loader: Create metadata and load content

Services it uses

Embeddings OpenAINotionSupabase Vector Store

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

From the author

Workflow updated on 17/06/2024: Added 'Summarize' node to avoid creating a row for each Notion content block in the Supabase table. Store Notion's Pages as Vector Documents into Supabase This workflow assumes you have a Supabase project with a table that has…

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