Automation library · Research and reporting

Track npm package downloads with Telegram

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

Large

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

The flow

Starts it 4Logic 12Service 9

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

  1. 11st of Month 6PMSchedule triggerStarts it
  2. 2Every Friday 6PMSchedule triggerStarts it
  3. 3Milestone (daily check 9AM)Schedule triggerStarts it
  4. 4Telegram TriggerTelegram triggerStarts it
  5. 5Fetch Monthly DigestCodeLogic
  6. 6Fetch Weekly DigestCodeLogic
  7. 7Check MilestonesCodeLogic
  8. 8Parse CommandCodeLogic
  9. 9Send Monthly DigestTelegramService
  10. 10Send Weekly DigestTelegramService
  11. 11Has Milestones?IfLogic
  12. 12Switch CommandSwitchLogic
  13. 13Send Milestone AlertTelegramService
  14. 14Fetch All-Time DownloadsCodeLogic
  15. 15Fetch Weekly DownloadsCodeLogic
  16. 16Fetch StatusCodeLogic
  17. 17Fetch TrendingCodeLogic
  18. 18Help MessageCodeLogic
  19. 19Unknown CommandCodeLogic
  20. 20Send DownloadsTelegramService
  21. 21Send WeeklyTelegramService
  22. 22Send StatusTelegramService
  23. 23Send TrendingTelegramService
  24. 24Send HelpTelegramService
  25. 25Send UnknownTelegramService

How it's built

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