Automation library · Data collection

Time tracking with Notion

Started by another system calling it, and works across Notion. 24 steps, 6 branches: large, and worth reading before you trust it with anything live.

Large

24 stepsLarge: read it before trusting it with anything live
6Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Logic 15Service 7

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

  1. 1Webhook - Track TimeWebhookStarts it
  2. 2SwitchSwitchLogic
  3. 3Get notion page with todays dateNotionService
  4. 4Set Break DurationSetLogic
  5. 5Get notion page with todays date1NotionService
  6. 6If page existIfLogic
  7. 7Get notion page by dateNotionService
  8. 8If page exist1IfLogic
  9. 9Set Message - Start time already trackedSetLogic
  10. 10Create new pageNotionService
  11. 11If page respondedIfLogic
  12. 12IfIfLogic
  13. 13Set Message - Start time not yet trackedSetLogic
  14. 14Respond to WebhookRespond To WebhookStarts it
  15. 15Set Message - Start time already tracked1SetLogic
  16. 16If pause_in_minuten is emptyIfLogic
  17. 17Set Message - Start not yet trackedSetLogic
  18. 18Update page with end dateNotionService
  19. 19Set Message - End time already trackedSetLogic
  20. 20Set break duration for current dayNotionService
  21. 21Update break duration for current dayNotionService
  22. 22Set Message - End time trackedSetLogic
  23. 23Set Message - Break time trackedSetLogic
  24. 24Set Message - Break time updatedSetLogic

How it's built

Starts on
Another system calling it
Steps
24, with 6 branches
Size
Large: read it before trusting it with anything live
Connects to
Notion
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

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?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

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 24 steps before you point it at anything that matters.