Automation library · Alerts and monitoring

Automate PPOB business operations with Telegram Bot

Started by an incoming Telegram message, and works across Telegram. 33 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 1Logic 12Service 20

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Main Command RouterSwitchLogic
  3. 3Welcome MessageTelegramService
  4. 4Main MenuTelegramService
  5. 5Generate Balance SignatureCodeLogic
  6. 6Generate Product SignatureCodeLogic
  7. 7Topup MenuTelegramService
  8. 8Deposit InformationTelegramService
  9. 9Check Bill MenuTelegramService
  10. 10Pay Bill MenuTelegramService
  11. 11Transaction HistoryTelegramService
  12. 12Process Topup SelectionCodeLogic
  13. 13Process Check Bill SelectionCodeLogic
  14. 14Process Pay Bill SelectionCodeLogic
  15. 15Process WelcomeCodeLogic
  16. 16Process MenuCodeLogic
  17. 17Check Balance APIHttp RequestService
  18. 18Get Products APIHttp RequestService
  19. 19Process Deposit InformationCodeLogic
  20. 20Process Trancation History InformationCodeLogic
  21. 21Send Topup Input PromptTelegramService
  22. 22Send Check Bill Input PromptTelegramService
  23. 23Send Pay Bill Input PromptTelegramService
  24. 24Send WelcomeTelegramService
  25. 25Send Menu InformationTelegramService
  26. 26Format Balance ResponseCodeLogic
  27. 27Format Product ListCodeLogic
  28. 28Send Deposit InformationTelegramService
  29. 29Send Transaction InformationTelegramService
  30. 30Execute Transaction APIHttp RequestService
  31. 31Bill Inquiry APIHttp RequestService
  32. 32Send Balance ResultTelegramService
  33. 33Send Product CategoriesTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
33, with 1 branch
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 33 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 33 steps before you point it at anything that matters.