Automation library · Data collection

Custom pomodoro tracker with Telegram and Google Sheet

Started by an incoming Telegram message, and works across Google Sheets and Telegram. 18 steps, 3 branches, 2 loops or waits: a working afternoon to understand properly.

Medium

18 stepsMedium: a working afternoon
3Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Logic 9Service 8

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Initiate Static DataCodeLogic
  3. 3IfIfLogic
  4. 4start or stop?IfLogic
  5. 5Instructions MessageTelegramService
  6. 6Start Cycle NotificationTelegramService
  7. 7End of Session NotificationTelegramService
  8. 8Deep WorkWaitLogic
  9. 9Clear Variables1CodeLogic
  10. 10Short Break NotificationTelegramService
  11. 11BreakWaitLogic
  12. 12Increment CountCodeLogic
  13. 13Back to Work NotificationTelegramService
  14. 14< 4 CyclesIfLogic
  15. 15Record Deep WorkGoogle SheetsService
  16. 16Long Break NotificationTelegramService
  17. 17Clear Variables2CodeLogic
  18. 18Record Long BreakGoogle SheetsService

How it's built

Starts on
An incoming Telegram message
Steps
18, with 3 branches, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Google Sheets, Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

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