Automation library · Content

Telegram video merger bot with FTP and Postgres

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

Large

42 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Logic 15Service 26

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

  1. 1TTTelegram triggerStarts it
  2. 2SPCodeLogic
  3. 3CIfLogic
  4. 4SUFtpService
  5. 5CMD1SwitchLogic
  6. 6INCodeLogic
  7. 7CLPCodeLogic
  8. 8MTelegramService
  9. 9GLPostgresService
  10. 10RSPostgresService
  11. 11CLPostgresService
  12. 12IMIfLogic
  13. 13MVSshService
  14. 14EMIfLogic
  15. 15RSTSshService
  16. 16ISIfLogic
  17. 17ENQCodeLogic
  18. 18WLMTelegramService
  19. 19EASshService
  20. 20LETelegramService
  21. 21VLCodeLogic
  22. 22CL1TelegramService
  23. 23VLLCodeLogic
  24. 24UPPostgresService
  25. 25SU1FtpService
  26. 26VL1TelegramService
  27. 27MRTelegramService
  28. 28VL2CodeLogic
  29. 29WHHttp RequestService
  30. 30RS1SshService
  31. 31NVTelegramService
  32. 32STCodeLogic
  33. 33FLPostgresService
  34. 34SRTFtpService
  35. 35GL1TelegramService
  36. 36ASSshService
  37. 37MRGExecute WorkflowLogic
  38. 38SDFtpService
  39. 39C1TelegramService
  40. 40CL2SshService
  41. 41CL3PostgresService
  42. 42DNNo OpLogic

How it's built

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

Questions

What does it need to run?

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

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