The flow
Model 8Logic 10Service 7
The steps in the order they run, from what starts it.
- 1Email Trigger (IMAP)Email Read ImapService
- 2DeepSeek R1Lm Chat Open AiModel
- 3Structured Output ParserOutput Parser StructuredModel
- 4OpenRouter Chat Model1Lm Chat Open RouterModel
- 5Gemini 2.0 FlashLm Chat Open RouterModel
- 6Contain attachments?IfLogic
- 7Email Summarization ChainChain SummarizationModel
- 8PDF AnalyzerChain LlmModel
- 9Create final summaryChain LlmModel
- 10Get PDF and images attachmentsCodeLogic
- 11Convert textMarkdownLogic
- 12Save summary textGoogle SheetsService
- 13Email summarySetLogic
- 14Save summary PDFGoogle SheetsService
- 15Split OutSplit OutLogic
- 16Send final summaryTelegramService
- 17SwitchSwitchLogic
- 18All summariesMergeLogic
- 19Upload attachmentsGoogle DriveService
- 20Extract from PDFExtract From FileService
- 21Analyze imageOpen AiModel
- 22ParsingCodeLogic
- 23Save summary imageGoogle SheetsService
- 24Map image summariesSetLogic
- 25AggregateAggregateLogic
How it's built
- Starts on
- An arriving email
- Steps
- 25, with 2 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Email, Google Drive, Google Sheets, Telegram
- Model
- OpenAI, OpenRouter
Questions
What does it need to run?
An n8n account, plus your own Email, Google Drive, Google Sheets and Telegram accounts, and a key for OpenAI and OpenRouter. You connect your own accounts after importing it; none are included.
What starts it?
It starts on an arriving email.
Does it use AI?
Yes. It calls OpenAI and OpenRouter. Model calls are billed by the provider, not by n8n.
How long does it take to set up?
Take your time. At 25 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 25 steps before you point it at anything that matters.