Automation library · E-commerce

Process store webhook orders with CRM

Started by another system calling it. It calls services over plain HTTP rather than through connectors. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

24 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 3Logic 9Service 12

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

  1. 1Webhook: store order paid (Shopify / WooCommerce / Salla)WebhookStarts it
  2. 2Every 6 h: ERP to CRM inventory syncSchedule triggerStarts it
  3. 3Error triggerError triggerStarts it
  4. 4ConfigSetLogic
  5. 5Config (schedule)SetLogic
  6. 6Config (errors)SetLogic
  7. 7Verify HMAC, normalise, idempotencyCodeLogic
  8. 8ERP: read inventoryHttp RequestService
  9. 9Alert opsHttp RequestService
  10. 10First delivery?IfLogic
  11. 11Low-stock rule (≤5)CodeLogic
  12. 12Supplier API: stock checkHttp RequestService
  13. 13Skip duplicate deliveryCodeLogic
  14. 14Post inventory digestHttp RequestService
  15. 15In stock?IfLogic
  16. 16Supplier API: place POHttp RequestService
  17. 17CRM: tag BACKORDERHttp RequestService
  18. 18Shipping API: create label + trackingHttp RequestService
  19. 19Customer: backorder emailHttp RequestService
  20. 20Customer: shipping emailHttp RequestService
  21. 21Ops alert (Slack)Http RequestService
  22. 22CRM: upsert customer + orderHttp RequestService
  23. 23Respond to webhookCodeLogic
  24. 24ERP: inventory syncHttp RequestService

How it's built

Starts on
Another system calling it
Steps
24, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 24 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 24 steps before you point it at anything that matters.