Skip to content
OrderAgentOrderAgent

Questions customers can ask

Order status, past history, spend, addresses and stock — answered from your data, never invented.

Customers ask questions as well as placing orders. These are the ones answered automatically, and the rule that governs all of them.

The rule

Every figure in every answer is read from your database, scoped to that one customer. The language model's only job is to work out which question is being asked; it never touches a number and never sees another customer's data.

A misread question therefore returns the wrong fact — never a wrong amount, and never somebody else's order.

About their current order

They askThey get
"show my order"The current draft or open order, itemised, with the total
"how much do I owe?"The amount outstanding on the open order, with the deadline
"what's the status?"Where the order is: awaiting payment, packing, out for delivery, delivered
"send me the QR again"Your payment instructions, resent

About their history

They askThey get
"what did I order last time?"Their most recent completed order, itemised
"list my previous orders"A short list of past orders with dates and totals
"how much did I pay last time?"The last approved payment
"how much have I spent this month / this year?"Total approved payments in that period, in your shop's time zone
"how many orders have I placed?"A count
"what do I buy most?"Their most-ordered product

If a customer's history spans a change of currency, the figures are grouped by currency rather than added together. Sums across currencies are never produced anywhere in the product.

About products

They askThey get
"do you have ghee?"Whether it is stocked and in stock
"how much is atta?"The current price
"send me the price list"Your catalogue as a PDF

Questions your catalogue has no data for — brand, ingredients, allergens, origin — are not answered. They are handed to you. See how messages are understood.

Addresses

A customer can give or change their delivery address at any point, not only when asked. It is parsed deterministically — never by the model — and stored on their record, so a returning customer is never asked for it again.

Both a filled-in four-line template and an ordinary single-line comma-separated address work. The postcode is found by its shape wherever it appears, which matters because people put it in a different place every time.

When it does not know

An unrecognised question gets a short, honest reply and — depending on the kind — may hand the conversation to you. It does not guess, and it does not answer a question the customer did not ask just because it is adjacent to one it recognises.