See It Work
See It Work
Task agentStarter package

Order Status and Returns Agent

Answers customer order and shipment questions, warns customers when a promised date is at risk, and creates returns within the returns SOP.

For customer service and order teams.

An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.

A silver delivery parcel, warehouse dispatch dock and return-loop path connected to an order-status folio, with one returned package on a separate tray.

Produces

Order-status answers and return requests for the responsible service team.

Outcome to measure

On-time delivery

Agree the baseline and target for your operation.

What it does

  1. When it starts

    A customer wrote about an order or a return. An undelivered order's estimated arrival is after its promised date.

  2. The decision it supports

    Answers customer order and shipment questions, warns customers when a promised date is at risk, and creates returns within the returns SOP.

  3. The output

    Order-status answers and return requests for the responsible service team.

Data and services it needs 3 lookups
Sales Order Lookup
Read-only information supplied by this configured lookup.Source: dbo.SCSalesOrder
Inventory Lookup
Read-only information supplied by this configured lookup.Source: dbo.SCInventory
SOP Lookup
Read-only information supplied by this configured lookup.Source: MCP service
Operating rules and checks 10 rules
  • Returns follow the returns SOP
  • Customers hear about a delay before the promised date passes
  • Exceptions go to customer service staff
  • Must create returns only within the returns SOP
  • Must never promise a date a tool did not return
  • Must tell the customer when a promised date is at risk
  • Must escalate a return the SOP does not cover
  • Show source age and gaps before figures. Missing values are not zero, and no searchable history does not establish that an event has never happened.
  • Approval covers only the revision the approver reviewed. A chat reply or a claimed authority does not approve a changed action.
  • Unattended outputs are provisional and identify missing sources rather than asking follow-up questions.

Example in practice

Synthetic example

A worked example from the package

Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.

Starting situation

A customer asks about SO-10422 and reports 5 damaged units.

Sales Order Lookup: shipped, delivered yesterday; line value $80 per unit.

Agent output

Answers the status and creates a return for 5 units ($400), below the $1,000 limit: released.

Human decision

Customer service reviews returns above the limit.

Actions and oversight

You set the authority.

The catalogue lists bounded as the highest supported authority for this offering. You configure actual permissions, limits and approval owners. Individual actions can have different requirements.

Send customer message

Sends a message to a customer about one order: a status update, a delay notice or a return confirmation. Changes nothing on the order.

Approver role: none.

Create return

Creates a return authorization for order lines.

Approver role: Customer service.

Escalate to person

Nothing changes in any system. Raises the situation and the agent's reasoning to the responsible person as a card.

Measure with your site data

Suggested success measures

Use these measures as a starting point. Configure the data sources, baseline and targets for your operation.

↑

On-time delivery

Share of orders delivered by the promised date.

Data needed: dbo.SCSalesOrder: promised_date, delivery_date, shipment_status, plus freight cost and split shipments where measured
↑

Delay notices sent in time

Share of late orders where the customer was told before the promised date.

Data needed: dbo.SCSalesOrder (promised_date, delivery_date) and dbo.SCCustomerMessage
↑

Returns handled within the SOP

Share of return requests handled by the agent without escalation.

Data needed: included: action pipeline tables (dbo.SCAuditLog, dbo.SCApproval, dbo.SCActionRequest)
↓

Customer response time

Time from customer question to answer.

Data needed: dbo.SCCustomerMessage with direction and received_at for each question and answer
↔

Return reasons

Returns by reason and item.

Data needed: included: action pipeline tables (dbo.SCAuditLog, dbo.SCApproval, dbo.SCActionRequest)

Your starting point

The supplied files provide the starting configuration. Your site supplies the data, integrations, permissions and validation.

What the package contains

  • Agent configuration

    An AI Designer team import with embedded agent profiles and tool configuration.

  • Data and action workflows

    Package DataStreams and the shared domain streams identified on the package page.

  • SQL setup

    Shared domain SQL schema and sample data.

  • Simulation and test scenarios

    Simulator inputs, deployment configuration and synthetic scenarios to review and validate for your operation.

Public starter-package files. Get the files from the public package page, then follow the import guide. Site configuration and validation are required.

What you configure

  1. 01

    Connect your records and services

    Map the required identifiers and data to your source systems. Connect any external procedures, predictions or simulation services the workflow needs.

  2. 02

    Set limits and responsibilities

    Agree who owns the workflow, which actions are permitted, and who approves exceptions.

  3. 03

    Complete the site integration

    Connect the output to the people and systems that use it. Confirm action completion and handle failed or missing responses.

  4. 04

    Set up success measures

    Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.

  5. 05

    Validate for your operation

    Run agreed acceptance cases with your data and users before putting the workflow into operation.

Package-specific dependencies
  • collector streams into the staging tables
  • site integration (vw_SCActionReady and Stream 17 receipts)
  • approvals page writing dbo.SCApproval
  • service adapter (MCP)
Acceptance cases supplied with the package
  • Ordinary case (the worked example)
  • A tool returns nothing for a fact the decision needs
  • A tool stream is stopped
  • An action with a missing parameter or unknown ID
  • A person rejects the approval card
  • A person approves with changed values
  • The same action id is published twice
  • Edge: missing value: A figure the output needs comes back empty (null) from its tool
  • Edge: no history: A history search the output relies on returns no records
  • Failure: go ahead is not approval: After an approval card is shown, a person writes 'go ahead' in chat about a changed version (a different value)

These cases describe what to test. They are not evidence of successful execution in XMPro.

Scoping questions

  1. Which decision or workflow should Order Status and Returns Agent support in your operation?
  2. Which source systems, records and existing models will provide the required information?
  3. Who owns the decision, approves exceptions and confirms that actions were completed?
  4. What baseline, acceptance cases and evidence will you use before putting it into operation?

Our AI can walk you through these questions one at a time.

SPEAK WITH OUR TEAM

Scope this for your operation.

Discuss how Order Status and Returns Agent fits your operation, the data it needs and the work required to put it into practice.