The flow
Starts it 2Model 7Logic 5Service 7
The steps in the order they run, from what starts it.
- 1OpenRouter Chat Model2Lm Chat Open RouterModel
- 2OpenRouter Chat Model3Lm Chat Open RouterModel
- 3Gmail TriggerGmail triggerStarts it
- 4Knowledge baseHttp Request ToolService
- 5Schedule TriggerSchedule triggerStarts it
- 6Postgres Chat MemoryMemory Postgres ChatModel
- 7OpenRouter Chat ModelLm Chat Open RouterModel
- 8Historical customer emailsHttp Request ToolService
- 9Product SKUHttp Request ToolService
- 10AI Agent1AgentModel
- 11Structured Output Parser1Output Parser StructuredModel
- 12Loop Over ItemsSplit In BatchesLogic
- 13Get many messagesGmailService
- 14Text ClassifierText ClassifierModel
- 15Send a messageGmailService
- 16blacklistIfLogic
- 17blacklist1IfLogic
- 18Transform to Q&ACodeLogic
- 19IfIfLogic
- 20Convert to FileConvert To FileService
- 21Upload files to Pinecone1Http RequestService
How it's built
- Starts on
- A clock
- Steps
- 21, with 3 branches, 1 loop or waits
- Size
- Large: read it before trusting it with anything live
- Connects to
- Gmail
- Model
- OpenRouter
- Retrieval
- Answers are drawn from documents you supply, not from the model alone
Questions
What does it need to run?
An n8n account, plus your own Gmail account, and a key for OpenRouter. You connect your own accounts after importing it; none are included.
What starts it?
It starts on a clock.
Does it use AI?
Yes. It calls OpenRouter. Its answers draw on documents you give it, not on the model alone. 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 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 21 steps before you point it at anything that matters.