Order tracking
Customers ask where their order is; the assistant calls your order API via a Business Tool or flow.
Architecture
Chat intent → flow or tool_loop → order_status_check → cited/status response
Prerequisites
- Order status API or Backend SDK tool
- Workspace with tool enabled
- Clear intent utterances
Installation
- Complete User getting started for the Support (or commerce) workspace.
- Connect channels required by this solution.
- Register tools / connectors (see links below).
- Declare and enable flows; Accept versions after sync.
- Run a dry-end-to-end test in a non-production workspace when possible.
Flows
ask order_id → tool order_status_check → complete with {{status}}
Deployment
- Production checklist: Production deployment
- Observe Flow Runs and
/api/v1/org/eventsfor event-driven paths
Troubleshooting
- No answer / weak citations → knowledge coverage (Knowledge Base)
- Tool failures → tool logs + SDK webhook health
- Event flow never starts → namespaced name, Enabled+Valid+Accepted,
whenpredicate (Events) - Approval stuck → Owner/Admin role (Approvals)