Automation library · E-commerce

AI-powered WhatsApp customer support for Shopify brands

Started by an incoming WhatsApp message, and works across Slack and WhatsApp. It puts OpenAI and OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI, OpenRouterRetrieval

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

The flow

Starts it 1Model 7Logic 7Service 7

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

  1. 1WhatsApp TriggerWhats App triggerStarts it
  2. 2Simple MemoryMemory Buffer WindowModel
  3. 3OpenRouter Chat ModelLm Chat Open RouterModel
  4. 4Get Products from ShopifyHttp Request ToolService
  5. 5Get Customer OrdersHttp Request ToolService
  6. 6Structured Output ParserOutput Parser StructuredModel
  7. 7Structured Output Parser1Output Parser StructuredModel
  8. 8OpenAI Chat ModelLm Chat Open AiModel
  9. 9Get Customer from ShopifyHttp RequestService
  10. 10Products AgentAgentModel
  11. 11Orders AgentAgentModel
  12. 12Customer DetailsSetLogic
  13. 13Send Products messageWhats AppService
  14. 14Send Order StatusWhats AppService
  15. 15Normalize InputSetLogic
  16. 16No Operation, do nothing1No OpLogic
  17. 17No Operation, do nothing2No OpLogic
  18. 18SwitchSwitchLogic
  19. 19Welcome messageWhats AppService
  20. 20Send a message to supportSlackService
  21. 21No Operation, do nothing3No OpLogic
  22. 22No Operation, do nothingNo OpLogic

How it's built

Starts on
An incoming WhatsApp message
Steps
22, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
Slack, WhatsApp
Model
OpenAI, 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 Slack and WhatsApp 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 incoming WhatsApp message.

Does it use AI?

Yes. It calls OpenAI and 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 22 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 22 steps before you point it at anything that matters.