# Track npm package downloads with Telegram: n8n workflow

> 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.

Source: https://millionrounds.com/workflow/track-npm-package-downloads-with-telegram (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# 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

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-npm-package-downloads-with-telegram)

**25 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 4 Logic 12 Service 9

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

- 1 **1st of Month 6PM** Schedule trigger *Starts it*
- 2 **Every Friday 6PM** Schedule trigger *Starts it*
- 3 **Milestone (daily check 9AM)** Schedule trigger *Starts it*
- 4 **Telegram Trigger** Telegram trigger *Starts it*
- 5 **Fetch Monthly Digest** Code *Logic*
- 6 **Fetch Weekly Digest** Code *Logic*
- 7 **Check Milestones** Code *Logic*
- 8 **Parse Command** Code *Logic*
- 9 **Send Monthly Digest** Telegram *Service*
- 10 **Send Weekly Digest** Telegram *Service*
- 11 **Has Milestones?** If *Logic*
- 12 **Switch Command** Switch *Logic*
- 13 **Send Milestone Alert** Telegram *Service*
- 14 **Fetch All-Time Downloads** Code *Logic*
- 15 **Fetch Weekly Downloads** Code *Logic*
- 16 **Fetch Status** Code *Logic*
- 17 **Fetch Trending** Code *Logic*
- 18 **Help Message** Code *Logic*
- 19 **Unknown Command** Code *Logic*
- 20 **Send Downloads** Telegram *Service*
- 21 **Send Weekly** Telegram *Service*
- 22 **Send Status** Telegram *Service*
- 23 **Send Trending** Telegram *Service*
- 24 **Send Help** Telegram *Service*
- 25 **Send Unknown** Telegram *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftrack-npm-package-downloads-with-telegram)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automate multi-website Google Analytics reports with OpenAI** 25 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/automate-multi-website-google-analytics-reports-with-openai)
- [**Log and report construction punch list items with OpenAI** 25 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/log-and-report-construction-punch-list-items-with-openai)
- [**Log food safety temperatures with DeepSeek and OpenAI** 25 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/log-food-safety-temperatures-with-deepseek-and-openai)
- [**Summarize QA testing news and send Telegram updates** 25 steps · calls a model · RSS, Telegram](https://millionrounds.com/workflow/summarize-qa-testing-news-and-send-telegram-updates)
- [**Real-time stock insights with Claude and Grok** 24 steps · calls a model · Telegram](https://millionrounds.com/workflow/real-time-stock-insights-with-claude-and-grok)
- [**Technical stock analysis with Telegram and Airtable** 24 steps · calls a model · Airtable, Telegram](https://millionrounds.com/workflow/technical-stock-analysis-with-telegram-and-airtable)
