The flow
Starts it 1Logic 4Service 13
The steps in the order they run, from what starts it.
- 1Telegram Bot TriggerTelegram triggerStarts it
- 2Check If Document AttachedIfLogic
- 3Download Document from TelegramTelegramService
- 4Request PDF File FormatTelegramService
- 5Upload PDF to Mistral AIHttp RequestService
- 6Status: File Received (1/5)TelegramService
- 7Get Mistral Signed URLHttp RequestService
- 8Status: Sent to Processor (2/5)TelegramService
- 9Process OCR with MistralHttp RequestService
- 10Status: File Signed (3/5)TelegramService
- 11Parse OCR Results by PageCodeLogic
- 12Status: Results Received (4/5)TelegramService
- 13Aggregate OCR ResultsAggregateLogic
- 14Create New Google DocGoogle DocsService
- 15Status: Creating Document (5/5)TelegramService
- 16Process Document UpdatesSplit In BatchesLogic
- 17Update Google Doc with ContentGoogle DocsService
- 18Send Document Link to UserTelegramService
How it's built
- Starts on
- An incoming Telegram message
- Steps
- 18, with 1 branch, 1 loop or waits
- Size
- Medium: a working afternoon
- Connects to
- Google Docs, Telegram
- Model
- None. This is plumbing, not judgement
Questions
What does it need to run?
An n8n account, plus your own Google Docs and Telegram accounts. 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?
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 itNothing 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.