Automation library · Alerts and monitoring

Extend n8n with Telegram

Started by an incoming Telegram message, and works across Telegram. 21 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 1Logic 9Service 11

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2SwitchSwitchLogic
  3. 3Merge1MergeLogic
  4. 4msg_pleasewaitTelegramService
  5. 5Merge2MergeLogic
  6. 6MergeMergeLogic
  7. 7msg_greetTelegramService
  8. 8FilenameSetLogic
  9. 9msg_wrongcommandTelegramService
  10. 10City ListFunctionLogic
  11. 11Get weather dataHttp RequestService
  12. 12Any errors API?IfLogic
  13. 13msg_errorAPITelegramService
  14. 14Convert API responseFunctionLogic
  15. 15Spreadsheet FileSpreadsheet FileService
  16. 16Write csvWrite Binary FileService
  17. 17Run R scriptExecute CommandService
  18. 18R successful?IfLogic
  19. 19Read Binary FileRead Binary FileService
  20. 20msg_errorRTelegramService
  21. 21msg_getweatherTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
21, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Telegram account. 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?

Take your time. At 21 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 21 steps before you point it at anything that matters.