Store Notion's Pages as Vector Documents into Supabase with OpenAI
Ready for 3.0What 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.
- Notion: get many (block)
- Filter: keeps only the items that match a condition
- Summarize: summarizes / groups the items
- Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Embeddings OpenAI; document loader: Create metadata and load content
Services it uses
Other OpenAI + Notion templates (157) · Other OpenAI + Supabase templates (149) · Other Notion + Supabase templates (6)
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)
- Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Token Splitter
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter - Notion Trigger
n8n-nodes-base.notionTrigger - Notion
n8n-nodes-base.notion - Filter
n8n-nodes-base.filter - Summarize
n8n-nodes-base.summarize - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase
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…