Automation library · Data collection

Personalized evening wind-down system with Telegram and Notion

Started by an incoming Telegram message, and works across Email, Notion and Telegram. It hands the judgement calls to OpenAI. 19 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: OpenAI

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

The flow

Starts it 2Model 1Logic 9Service 7

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

  1. 1Cron: 9PM DailyCronStarts it
  2. 2Telegram Trigger: Button TapTelegram triggerStarts it
  3. 3Set: User Config (Cron Path)SetLogic
  4. 4Set: User Config (Trigger Path)SetLogic
  5. 5Telegram: Ask MoodTelegramService
  6. 6Set: Mood ParseSetLogic
  7. 7IF: Tired?IfLogic
  8. 8Telegram: Send MeditationTelegramService
  9. 9Telegram: Celebrate WinTelegramService
  10. 10GPT: Reflection Prompt (optional)Open AiModel
  11. 11Code: Pick AffirmationCodeLogic
  12. 12Code: Pick Affirmation (Great)CodeLogic
  13. 13IF: GPT Enabled?IfLogic
  14. 14Set: Notion Entry (Great)SetLogic
  15. 15Set: Notion Entry (Tired)SetLogic
  16. 16Notion: Log Entry (Great)NotionService
  17. 17Notion: Log Entry (Tired)NotionService
  18. 18Email: Goodnight (Great)Email SendService
  19. 19Email: Goodnight (Tired)Email SendService

How it's built

Starts on
An incoming Telegram message
Steps
19, with 2 branches
Size
Medium: a working afternoon
Connects to
Email, Notion, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Email, Notion and Telegram accounts, and a key for OpenAI. 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?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 19 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 19 steps before you point it at anything that matters.