The flow
Starts it 6Logic 11Service 9
The steps in the order they run, from what starts it.
- 1Webhook - New OrderWebhookStarts it
- 2Error TriggerError triggerStarts it
- 3Validate OrderCodeLogic
- 4Format ErrorCodeLogic
- 5IF - Valid OrderIfLogic
- 6Slack - Error AlertSlackService
- 7API - Verify PaymentHttp RequestService
- 8Format Validation ErrorCodeLogic
- 9IF - Payment OKIfLogic
- 10Respond - Validation ErrorRespond To WebhookStarts it
- 11API - Check StockHttp RequestService
- 12Format Payment FailedCodeLogic
- 13IF - In StockIfLogic
- 14Respond - Payment FailedRespond To WebhookStarts it
- 15API - Reserve InventoryHttp RequestService
- 16Format Out of StockCodeLogic
- 17API - Create OrderHttp RequestService
- 18Respond - Out of StockRespond To WebhookStarts it
- 19API - Generate ShippingHttp RequestService
- 20Format EmailCodeLogic
- 21Send Confirmation EmailGmailService
- 22Slack - Notify TeamSlackService
- 23Prepare Audit EntryCodeLogic
- 24API - Log AuditHttp RequestService
- 25Format SuccessCodeLogic
- 26Respond - SuccessRespond To WebhookStarts it