Automating returns and order tracking with an AI agent
Where is my order and how do I return this are the two biggest repeat questions in ecommerce. Here is the data, the safe actions and the handover rules to automate them.
Read articleOrder tracking is the biggest repeat question in ecommerce. Answer it in chat with a tracking card, then go proactive and tell customers about delays before they ask.
By the Askocto team · · 4 min read
AI agents handle order tracking in ecommerce in two stages: first they answer "where is my order" in chat from live order data, then they reach out first when a delivery is late or an address looks wrong. The first stage removes repeat questions. The second prevents many of them from being asked at all.
In short: Build the answer flow, add a tracking card, then use a proactive mission for delays. Keep exceptions and compensation with people.
Tracking questions share a shape: the customer has paid, is waiting and wants one fact. The answer lives in your order system and carrier data. There is little judgment involved, which is rare in support and makes it a strong first automation.
This article takes a hypothetical coffee roaster as its example. It sells bags of beans and monthly subscriptions, ships through two carriers and sees tracking questions spike after each roast day. For the rules on returns and policy edge cases, see the companion guide on automating returns and order tracking. Here the focus is the tracking journey itself.
A good tracking answer has five parts, in this order:
The agent should verify the customer first by asking for the order number plus a second detail such as the email. Without that check, a guessable order number can expose an address.
Write the flow as a procedure:
Order status
1. Ask for the order number and the email on the order.
2. Look up the order. If it does not match, ask once more,
then hand over.
3. Report status, carrier, latest event, estimated date.
4. If the order has not moved for the number of days set in the
delay rule, say so and hand over with the order details.
A paragraph of text works, but a card inside the chat is clearer: order number, items, a progress line from packed to delivered, and a tracking button. In Askocto, widgets are interactive components shown in the chat, and an order tracking card is one of the standard examples. You build it in the widget builder, either with the AI widget builder or the code editor, and the agent shows it next to its written answer.
The card has a second advantage: the customer can open it again without asking. See the widgets feature page for what you can build. If your store runs on Shopify, the no-code setup plan shows how to connect the order lookups.
Normal orders are easy. Customers write in about the unusual ones. Decide each case ahead of time:
| Case | Suggested handling |
|---|---|
| Order number not found | One retry, then hand over |
| No tracking update for several days | Explain what the data shows, offer to hand over |
| Marked delivered but not received | Collect details, hand over |
| Split shipment | Show each parcel separately |
| Address looks incomplete | Ask the customer to confirm before dispatch, or hand over after it |
| Subscription box delayed by a roast day | Explain the schedule and the new date |
Do not let the agent promise a date the carrier has not given. Say what the data says and when it was last updated.
Reactive answers remove effort from your team. Proactive messages remove the question. Askocto has Missions, which are proactive agent runs with a goal. A mission can start from a signal, such as an order being delayed, and send a message through a channel the customer already uses.
For the roaster, a mission could work like this:
Outcomes are recorded as Achieved, Not achieved or Needs review, so you can see how many customers settled without contacting you. Read the missions overview for how signals, runs and outcomes fit together. For messaging apps, the guide to AI agents for WhatsApp customer support covers sending updates on a channel customers check first.
Track four things, comparing with the weeks before launch:
Read a sample of delay conversations each week. The wording of an apology matters more than most teams expect. The broader piece on AI in ecommerce places tracking among the other jobs an agent can take.
Yes, when it is connected to your store and shipping data, it can read the current status and latest carrier event. It can only report what that data contains.
Require two matching details, such as the order number and email, before it shares anything, and show only part of the delivery address.
It means messaging customers about delays or changes before they ask. A mission can send the message when a signal such as a late shipment occurs.
For missing parcels, damaged goods, high-value orders, repeated problems and any customer who asks for a person. Pass the order details along with a summary.
Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.
Where is my order and how do I return this are the two biggest repeat questions in ecommerce. Here is the data, the safe actions and the handover rules to automate them.
Read articleWhich Shopify store questions to hand to an AI agent first, which need an action in your store, which need a person, and a four-week plan to get the first ones live.
Read articleA four-block plan to get an AI agent live on a Shopify store in one afternoon: connect, load policies, write procedures, test, then embed on the storefront.
Read article