Automation library · Money admin

Shopify orders to D365 Business Central sales orders / sales

Started by a clock, and works across Shopify. 31 steps, 4 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large

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

The flow

Starts it 1Logic 18Service 12

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2D365 BC Environment SettingsSetLogic
  3. 3ShopifyShopifyService
  4. 4FilterFilterLogic
  5. 5GetFufillmentOrdersHttp RequestService
  6. 6SelectFieldsSetLogic
  7. 7orderPreprocessingCodeLogic
  8. 8Loop Over ItemsSplit In BatchesLogic
  9. 9Set Business Central Customer IdSetLogic
  10. 10Lookup CustomersHttp RequestService
  11. 11POS?IfLogic
  12. 12New Customer?IfLogic
  13. 13Lookup Sales InvoiceHttp RequestService
  14. 14Lookup Sales OrderHttp RequestService
  15. 15Create CustomerHttp RequestService
  16. 16New Invoice?IfLogic
  17. 17New SO?IfLogic
  18. 18Sales InvoiceSetLogic
  19. 19Sales Order MappingSetLogic
  20. 20Create Sales InvoiceHttp RequestService
  21. 21Create Sales OrderHttp RequestService
  22. 22Set Lines InvoiceSetLogic
  23. 23Set Lines SOSetLogic
  24. 24Split Out InvoiceSplit OutLogic
  25. 25Split OutSplit OutLogic
  26. 26Create Invoice LinesHttp RequestService
  27. 27Create Order LinesHttp RequestService
  28. 28End1No OpLogic
  29. 29DELETE Sales InvoiceHttp RequestService
  30. 30EndNo OpLogic
  31. 31DELETE Sales OrderHttp RequestService

How it's built

Starts on
A clock
Steps
31, with 4 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Shopify
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Shopify account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

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