Automation library · E-commerce

AI-powered customer email support for e-commerce with Pinecone

Started by a clock, and works across Gmail. It puts OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 21 steps, 3 branches, 1 loop or waits: 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
3Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 2Model 7Logic 5Service 7

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

  1. 1OpenRouter Chat Model2Lm Chat Open RouterModel
  2. 2OpenRouter Chat Model3Lm Chat Open RouterModel
  3. 3Gmail TriggerGmail triggerStarts it
  4. 4Knowledge baseHttp Request ToolService
  5. 5Schedule TriggerSchedule triggerStarts it
  6. 6Postgres Chat MemoryMemory Postgres ChatModel
  7. 7OpenRouter Chat ModelLm Chat Open RouterModel
  8. 8Historical customer emailsHttp Request ToolService
  9. 9Product SKUHttp Request ToolService
  10. 10AI Agent1AgentModel
  11. 11Structured Output Parser1Output Parser StructuredModel
  12. 12Loop Over ItemsSplit In BatchesLogic
  13. 13Get many messagesGmailService
  14. 14Text ClassifierText ClassifierModel
  15. 15Send a messageGmailService
  16. 16blacklistIfLogic
  17. 17blacklist1IfLogic
  18. 18Transform to Q&ACodeLogic
  19. 19IfIfLogic
  20. 20Convert to FileConvert To FileService
  21. 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 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.