Automation library · Data collection

Assign random icons to new Notion pages with NocoDB

Started by a clock, and works across NocoDB and Notion. 20 steps, 2 branches, 1 loop or waits: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
2Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Logic 12Service 7

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

  1. 1Every 10 minutesSchedule triggerStarts it
  2. 2Get all tasks recently createdNotionService
  3. 3If MondayIfLogic
  4. 4Filter Already SetFilterLogic
  5. 5Get icons1Noco DbService
  6. 6MergeMergeLogic
  7. 7Merge1MergeLogic
  8. 8Get iconsNoco DbService
  9. 9Get colorsNoco DbService
  10. 10Aggregate icons1AggregateLogic
  11. 11Get last 50 pagesNotionService
  12. 12Update Task ImageNotionService
  13. 13Aggregate iconsAggregateLogic
  14. 14Aggregate colorsAggregateLogic
  15. 15FilterFilterLogic
  16. 16Remove DuplicatesRemove DuplicatesLogic
  17. 17ShapesSetLogic
  18. 18Loop Over ItemsSplit In BatchesLogic
  19. 19IfIfLogic
  20. 20Create a rowNoco DbService

How it's built

Starts on
A clock
Steps
20, with 2 branches, 1 loop or waits
Size
Medium: a working afternoon
Connects to
NocoDB, Notion
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own NocoDB and Notion 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. 20 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 20 steps before you point it at anything that matters.