Workflow updated on 17/06/2024:
Added 'Summarize' node to avoid creating a row for each Notion content block in the Supabase table.
This workflow assumes you have a Supabase project with a table that has a vector column. If you don't have it, follow the instructions here: Supabase Langchain Guide
This workflow automates the process of storing Notion pages as vector documents in a Supabase database with a vector column. The steps are as follows:
Notion Page Added Trigger :
Page Added in Notion DatabaseRetrieve Page Content :
Get Blocks ContentFilter Non-Text Content :
Filter - Exclude Media ContentSummarize Content :
Summarize - Concatenate Notion's blocks contentStore in Supabase :
Store Documents in SupabaseGenerate Embeddings :
Generate Text EmbeddingsCreate Metadata and Load Content :
Load Block Content & Create MetadataSplit Content into Chunks :
Token Splitter

