Automation library · E-commerce

AI-powered WooCommerce Support-Agent with OpenAI

Started by someone opening a chat with it, and works across WooCommerce. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 31 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

31 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 4Model 4Logic 20Service 3

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

  1. 1Window Buffer MemoryMemory Buffer WindowModel
  2. 2Execute Workflow TriggerExecute Workflow triggerStarts it
  3. 3OpenAI Chat ModelLm Chat Open AiModel
  4. 4WooCommerce_ToolTool WorkflowModel
  5. 5Chat TriggerChat triggerStarts it
  6. 6Webhook Example PageWebhookStarts it
  7. 7Encrypt emailCodeLogic
  8. 8Example encrypted emailSetLogic
  9. 9AI AgentAgentModel
  10. 10If email providedIfLogic
  11. 11Decrypt email addressCodeLogic
  12. 12Respond to WebhookRespond To WebhookStarts it
  13. 13Decrypt emailCodeLogic
  14. 14WooCommerce - Get UserWoo CommerceService
  15. 15No email providedSetLogic
  16. 16Mock DataSetLogic
  17. 17If user foundIfLogic
  18. 18WooCommerce Get OrdersHttp RequestService
  19. 19No customer foundSetLogic
  20. 20If order foundIfLogic
  21. 21Extract Tracking DataSetLogic
  22. 22Merge Order and Tracking DataMergeLogic
  23. 23No order foundSetLogic
  24. 24If contains DHL dataIfLogic
  25. 25Send ResponseSetLogic
  26. 26Split OutSplit OutLogic
  27. 27Merge OrdersMergeLogic
  28. 28DHLDhlService
  29. 29Merge Tracking DataMergeLogic
  30. 30Add Error InformationSetLogic
  31. 31AggregateAggregateLogic

How it's built

Starts on
Someone opening a chat with it
Steps
31, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
WooCommerce
Model
OpenAI
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 WooCommerce account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone opening a chat with it.

Does it use AI?

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