The flow
Starts it 1Model 11Logic 5Service 4
The steps in the order they run, from what starts it.
- 1When Email ReceivedWebhookStarts it
- 2OpenRouter Chat ModelLm Chat Open RouterModel
- 3OpenRouter Chat Model2Lm Chat Open RouterModel
- 4Simple Memory1Memory Buffer WindowModel
- 5Structured Output Parser1Output Parser StructuredModel
- 6OpenRouter Chat Model1Lm Chat Open RouterModel
- 7Simple MemoryMemory Buffer WindowModel
- 8Structured Output ParserOutput Parser StructuredModel
- 9Simple Memory3Memory Buffer WindowModel
- 10Check if spamIfLogic
- 11Find Best MatchAgentModel
- 12Draft escalationAgentModel
- 13Draft answerAgentModel
- 14Stop processingNo OpLogic
- 15Get All KB QuestionsNotionService
- 16Get answerCodeLogic
- 17Inform need for escalation to senderEmail SendService
- 18Send answer email to senderEmail SendService
- 19Format KB dataCodeLogic
- 20IfIfLogic
- 21Send escalation to humanEmail SendService
How it's built
- Starts on
- Another system calling it
- Steps
- 21, with 2 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Email, Notion
- 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 Email and Notion accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.
What starts it?
It starts on another system calling it.
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.