Automation library · Content

Articles into kids’ audiobooks and comics with Telegram

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to Gemini and OpenRouter. 21 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenRouter

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

The flow

Starts it 1Model 9Logic 4Service 7

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

  1. 1OpenRouterLm Chat Open RouterModel
  2. 2Google GeminiLm Chat Google GeminiModel
  3. 3Google Gemini1Lm Chat Google GeminiModel
  4. 4User Sends Message to BotTelegram triggerStarts it
  5. 5Summarize the StoryAgentModel
  6. 6Structured OutputOutput Parser StructuredModel
  7. 7Validate user InputAgentModel
  8. 8Structured Output ParserOutput Parser StructuredModel
  9. 9Chatting With UserAgentModel
  10. 10Generate Story AudioEleven LabsService
  11. 11Split Image PromptsSplit OutLogic
  12. 12Check For Input TypeSwitchLogic
  13. 13Answer the UserTelegramService
  14. 14Send an audio file To UserTelegramService
  15. 15Loop Over ItemsSplit In BatchesLogic
  16. 16Process Initialization AlertTelegramService
  17. 17Get Story via BrowserActBrowser ActService
  18. 18Workflow Completion NotificationTelegramService
  19. 19Generate Strory imageGoogle GeminiModel
  20. 20Send Story Comic ImagesTelegramService
  21. 21Avoid Rate LimitsWaitLogic

How it's built

Starts on
An incoming Telegram message
Steps
21, with 1 branch, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Telegram
Model
Gemini, OpenRouter

Questions

What does it need to run?

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

How long does it take to set up?

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