Automation library · Alerts and monitoring

Monitor Telegram channel intelligence with Apify and OpenAI

Started by a clock, and works across Google Sheets, Telegram and n8n data table. It hands the judgement calls to OpenAI. 20 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: OpenAI

20 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 2Model 1Logic 10Service 7

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

  1. 1Manual TriggerManual triggerStarts it
  2. 2Hourly Intelligence TriggerSchedule triggerStarts it
  3. 3Ensure Delivery LedgerData TableService
  4. 41. Configure Channel IntelligenceSetLogic
  5. 5Validate Channels and Build Actor InputCodeLogic
  6. 62. Run Telegram Channel Posts ScraperHttp RequestService
  7. 7Download Telegram Post ResultsHttp RequestService
  8. 8Normalize Public Telegram PostsCodeLogic
  9. 9Keep Undelivered PostsData TableService
  10. 10Build One Intelligence BatchCodeLogic
  11. 113. Analyze Telegram Posts in One BatchOpen AiModel
  12. 12Validate Intelligence ResultsCodeLogic
  13. 13Has Relevant IntelligenceIfLogic
  14. 14Expand Intelligence RowsCodeLogic
  15. 15Prepare Delivered Post KeysCodeLogic
  16. 164. Save Intelligence to Google SheetsGoogle SheetsService
  17. 17Commit Delivered PostsData TableService
  18. 18Build Telegram Intelligence DigestCodeLogic
  19. 19Intelligence Monitor CompleteCodeLogic
  20. 205. Send Intelligence Digest to TelegramTelegramService

How it's built

Starts on
A clock
Steps
20, with 1 branch
Size
Medium: a working afternoon
Connects to
Google Sheets, Telegram, n8n data table
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

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 20 steps before you point it at anything that matters.