Automation library · Data collection

Seed a Supabase AI knowledge base from Notion with Ollama

Started by a clock, and works across Notion and Supabase vectors. 11 steps, 1 branch: a working afternoon to understand properly.

MediumRetrieval

11 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 4Logic 2Service 3

The steps in the order they run, from what starts it.

  1. 1Start Notion IngestionManual triggerStarts it
  2. 2Generate Embeddings OllamaEmbeddings OllamaModel
  3. 3Split Text for ProcessingText Splitter Recursive Character Text SplitterModel
  4. 4Schedule SyncSchedule triggerStarts it
  5. 5Remove Existing EmbeddingsHttp RequestService
  6. 6Insert into Knowledge StoreVector Store SupabaseModel
  7. 7Load Default DataDocument Default Data LoaderModel
  8. 8Get Notion PagesNotionService
  9. 9Fetch Page BlocksNotionService
  10. 10Aggregate Block TextCodeLogic
  11. 11Skip Empty PagesIfLogic

How it's built

Starts on
A clock
Steps
11, with 1 branch
Size
Medium: a working afternoon
Connects to
Notion, Supabase vectors
Model
None. This is plumbing, not judgement
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Notion and Supabase vectors accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 11 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 11 steps before you point it at anything that matters.