Working with Scenarios
Build, test, and publish workflows that keep your orders and inventory in sync.
Scenarios are the heart of SyncMyOrders. Each one defines how data moves between your sales channels, warehouse tools, and support systems. Use them to normalize inputs, branch on business rules, and push updates back to every destination.
What you can do
- Normalize orders from every channel into a single format before fulfillment.
- Fan out shipments by warehouse or carrier based on your rules.
- Trigger downstream updates (support tickets, customer notifications, finance exports) from the same flow.
- Reuse common routines like address validation or file imports across scenarios.
Basic build workflow
- Create a scenario: Start from a blank canvas or a template that matches your integration pattern.
- Lay out steps: Combine agent steps, conditionals, splits, and switches to express your business logic.
- Map inputs/outputs: Define what the scenario expects, shape the data between steps, and set the return payload.
- Test and publish: Run with sample data, inspect results, then mark the latest version as active for production use.
Tips for stable scenarios
- Keep entry points narrow: validate required fields early and fail fast on bad payloads.
- Use variables to avoid recalculating values across steps.
- Centralize shared routines (like tax or currency conversions) in separate scenarios and call them with
StartScenario. - Version often so you can roll back quickly if a change behaves unexpectedly.