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