Automation library · Customer support

Triage support emails with EmailConnect and Notion KB

Started by another system calling it, and works across Email and Notion. It puts OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenRouterRetrieval

21 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Model 11Logic 5Service 4

The steps in the order they run, from what starts it.

  1. 1When Email ReceivedWebhookStarts it
  2. 2OpenRouter Chat ModelLm Chat Open RouterModel
  3. 3OpenRouter Chat Model2Lm Chat Open RouterModel
  4. 4Simple Memory1Memory Buffer WindowModel
  5. 5Structured Output Parser1Output Parser StructuredModel
  6. 6OpenRouter Chat Model1Lm Chat Open RouterModel
  7. 7Simple MemoryMemory Buffer WindowModel
  8. 8Structured Output ParserOutput Parser StructuredModel
  9. 9Simple Memory3Memory Buffer WindowModel
  10. 10Check if spamIfLogic
  11. 11Find Best MatchAgentModel
  12. 12Draft escalationAgentModel
  13. 13Draft answerAgentModel
  14. 14Stop processingNo OpLogic
  15. 15Get All KB QuestionsNotionService
  16. 16Get answerCodeLogic
  17. 17Inform need for escalation to senderEmail SendService
  18. 18Send answer email to senderEmail SendService
  19. 19Format KB dataCodeLogic
  20. 20IfIfLogic
  21. 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 it

Nothing 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.