Skip to main content

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

  1. Complete User getting started for the Support (or commerce) workspace.
  2. Connect channels required by this solution.
  3. Register tools / connectors (see links below).
  4. Declare and enable flows; Accept versions after sync.
  5. 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/events for 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, when predicate (Events)
  • Approval stuck → Owner/Admin role (Approvals)

Learn more