Automation library · Content

AI blog creator - multi-model Telegram bot with Gemini

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to Gemini. 18 steps, 2 branches: a working afternoon to understand properly.

MediumCalls a model: Gemini

18 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 1Logic 11Service 4

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

  1. 1Manual TriggerManual triggerStarts it
  2. 2Telegram TriggerTelegram triggerStarts it
  3. 3Merge Start (Any)MergeLogic
  4. 4Config (Defaults)SetLogic
  5. 5Enhanced Telegram Parser (Code)CodeLogic
  6. 6Has Voice?IfLogic
  7. 7Set FileIdSetLogic
  8. 8Topic Prompt (Set)SetLogic
  9. 9Telegram getFileHttp RequestService
  10. 10Is Gemini?IfLogic
  11. 11Build File URL (Code)CodeLogic
  12. 12Gemini ProGoogle GeminiModel
  13. 13Download Voice (HTTP)Http RequestService
  14. 14Hexa Content MergerMergeLogic
  15. 15Qwen Transcribe (Voice)Http RequestService
  16. 16HexaCodeLogic
  17. 17Enhanced Voice Processing (Code)CodeLogic
  18. 18HTTP RequestHttp RequestService

How it's built

Starts on
An incoming Telegram message
Steps
18, with 2 branches
Size
Medium: a working afternoon
Connects to
Telegram
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for Gemini. 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?

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

How long does it take to set up?

Plan an afternoon. 18 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 18 steps before you point it at anything that matters.