How it works
To move data from Notion to Postgres automatically, use a ready-made scenario — no manual exports.
- Starts when: When clicking ‘Execute workflow’
- Then: Get rows from sheet
- Check: Merge import Data
- Then: Remove HTML
- Check: Loop Over Items
- Check: Switch
- If yes: Code "Question"
- Then: Embeddings OpenAI Question
- Check: Merge
- Then: Merge fields for database insert
- Then: Write row to database
- If no: Code "Answer"
- Then: Embeddings OpenAI Answer
- Then: Retrieve existing rows
- Then: Build table in Supabase
You can launch this Notion + Postgres integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.