Automation library · Research and reporting

AI-powered Telegram news broadcaster with Gemini and MongoDB

Started by a clock, and works across MongoDB, RSS and Telegram. It hands the judgement calls to Gemini. 29 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 9Logic 9Service 9

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2RSS Feed TriggerRss Feed Read triggerStarts it
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Google Gemini Chat Model1Lm Chat Google GeminiModel
  6. 6Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  7. 7Google Gemini Chat Model2Lm Chat Google GeminiModel
  8. 8Basic LLM ChainChain LlmModel
  9. 9ConfigSetLogic
  10. 10Report configSetLogic
  11. 11Summarization ChainChain SummarizationModel
  12. 12Default Data LoaderDocument Default Data LoaderModel
  13. 13Basic LLM Chain1Chain LlmModel
  14. 14ArticleMergeLogic
  15. 15Find News in dbMongo DbService
  16. 16Get day newsMongo DbService
  17. 17Format reportSetLogic
  18. 18Send to telegram1TelegramService
  19. 19Generate contentCodeLogic
  20. 20Filter exist newsCodeLogic
  21. 21Save day reportMongo DbService
  22. 22Get account infoHttp RequestService
  23. 23Get full articleHttp RequestService
  24. 24Create articleHttp RequestService
  25. 25Extract articleHtmlLogic
  26. 26Extract imgHtmlLogic
  27. 27Send to telegramTelegramService
  28. 28Edit to saveSetLogic
  29. 29Save newsMongo DbService

How it's built

Starts on
A clock
Steps
29
Size
Large: read it before trusting it with anything live
Connects to
MongoDB, RSS, Telegram
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own MongoDB, RSS and Telegram accounts, and a key for Gemini. 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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