The flow
Starts it 1Model 1Logic 12Service 9
The steps in the order they run, from what starts it.
- 1Telegram TriggerTelegram triggerStarts it
- 2Detect File TypeCodeLogic
- 3Route by File TypeSwitchLogic
- 4Mapping PDFSetLogic
- 5Notifikasi file sedang diprosesTelegramService
- 6Mapping ImageSetLogic
- 7Notifikasi file invalidTelegramService
- 8Get PDFTelegramService
- 9Get ImageTelegramService
- 10Extract PDF TextExtract From FileService
- 11Extract Text from Image (OCR)Tesseract NodeService
- 12Clean PDF TextCodeLogic
- 13Clean OCR TextCodeLogic
- 14Prepare PDF DataSetLogic
- 15Prepare Image DataSetLogic
- 16Extract Structured Data (AI)Google GeminiModel
- 17Parse AI ResponseCodeLogic
- 18Validate Extracted DataCodeLogic
- 19Check Data ValidityIfLogic
- 20Format Data for ExcelCodeLogic
- 21Send Invalid Data NotificationTelegramService
- 22Save Data to ExcelMicrosoft ExcelService
- 23Send Success NotificationTelegramService
How it's built
- Starts on
- An incoming Telegram message
- Steps
- 23, with 2 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Excel, Telegram
- Model
- Gemini
Questions
What does it need to run?
An n8n account, plus your own Excel 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 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?
Take your time. At 23 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 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 23 steps before you point it at anything that matters.