GuidesAI and e-commerce

An AI agent that answers “Where is my order?”

By the Banzai Labs teamUpdated on 3 min read

“Where is my order?”In transit · ThursdayOrderCarrierHumanIt reads the real order, and hands over when needed
The agent reads the real order and carrier tracking, and hands over to a human when needed.

What the agent can do

  • VerifyOrder number and purchase email must match.
  • ReadStatus, items, shipment, tracking number and link.
  • Hand overLost parcel, dispute, refund: a human takes over with the context.

The tools it gets

Tool What it returns
find_order(number, email) The order if both match, otherwise nothing
shipment_tracking(order) Carrier, number and tracking link
hand_to_human(summary) A ticket with the conversation summarised

In Shopify, the order and its fulfillments are read through the Admin API; each fulfillment carries its tracking information (number, carrier, link).

The instructions that matter

  • Answer only from the tools, never a guessed date.
  • One order per conversation, the one that was verified.
  • Hand over as soon as the customer is unhappy or the question goes beyond tracking.

The expected result

  1. 1Question“Where is order 1042?”
  2. 2Check and readEmail confirmed, parcel handed to the carrier on Tuesday.
  3. 3AnswerStatus, tracking link, and the offer of a human contact.

How tools work: tool use explained. The bigger picture: AI for e-commerce and AI agents on real data.

Frequently asked questions

How do I stop it from showing another customer's order?
Ask for the order number and the purchase email, and check on the server that both match before reading anything. The agent never sees an order that doesn't match.
Can it refund or change an order?
Start read-only. Any action involving money (refund, cancellation) goes through human confirmation.
What if the carrier has no information?
The agent says so plainly, gives the tracking link and offers a human contact. It never makes up a date.

Read next

All guides