💬 Chatly

← Back to blog

How-to

Let the AI check order status for customers

· Chatly Team · 7 min read

Most small shops know the message by heart. "Hello, where is my order?" It arrives on WhatsApp at 7am, again on Instagram at lunch, and twice through the website chat after dinner. Each time someone on the team stops what they are doing, opens the store admin, searches for the order, reads the status and types it back. The answer takes a minute. The interruption costs far more.

None of these questions need a person. They need someone to look something up and report it accurately. That is the job an AI Action can take on, as long as you set it up with care.

What an AI Action actually does

Chatly's AI agent normally answers from your own knowledge: pages crawled from your website and the documents you upload. That covers questions like delivery areas, return rules and opening hours. It cannot cover "where is order 1042?" because that answer lives in your store, not on your website.

AI Actions close that gap. You approve specific tools the AI is allowed to call, for example order status, product search or a stock check. When a customer asks something that matches, the AI calls the tool through your Shopify store, your WooCommerce store or a custom API you provide, reads the result and replies in plain words.

Two points matter here. First, the AI only uses the tools you have approved. It does not wander around your store doing whatever seems helpful. Second, your store stays the source of truth. Chatly does not keep its own copy of your orders or stock and guess from that. It asks the store each time, so the answer is as current as the store itself.

AI Actions come with the paid plans. The details of each plan are on the pricing page.

Choose the actions you approve

Start small. You do not need every possible action on day one. Pick the two or three questions your team answers most often and approve only the tools those questions need.

ActionWhat the customer typesTreat as sensitive?
Order status"Has my order left Lagos yet?"Usually no, it only reads information
Stock check"Do you still have the black one in size 42?"No
Product search"Do you sell phone cases for this model?"No
Anything that changes an order"Please change my delivery address"Yes, ask for confirmation

Read actions are the safe place to begin. They look something up and report back. Actions that change something, like editing an order, deserve more thought, which we will come to.

Connect your store: Shopify, WooCommerce or your own API

The connection you choose depends on where your orders live.

For the custom route, be clear with your developer about what each tool should return. An order status tool that sends back a tidy result such as "dispatched, with courier, expected Thursday" gives the AI something clear to say. One that sends back a pile of internal codes will produce confusing replies.

Is it safe to let a bot look up orders?

This is the question owners ask first, and they are right to. Here is how it is kept under control.

Confirmation for sensitive actions

Any action you mark as sensitive asks for confirmation before it runs. The customer sees what is about to happen and has to agree. A short example of how that exchange might read:

Customer: Please cancel the second item on my order.

AI: I can see your order has two items. You want to cancel the blue bag and keep the sandals. Shall I go ahead?

That pause catches misunderstandings before they become refunds and apologies. If you are not comfortable letting the AI change orders at all, do not approve those tools. Leave them to your team.

Decide what a customer must give you

Think about what a customer should provide before you share order details. An order number on its own may be enough for a simple status update. For anything more personal, you may want the email or phone number on the order as well. A flow can collect name, email or phone before the conversation goes further, which gives the AI and your agents something to match against.

The store decides, not the chat

Because the store stays the source of truth, the AI is never inventing a status. If the store says "processing", the AI says processing. If the store has no such order, the AI should say so and offer a person, rather than guess.

Write the knowledge around the action

A status on its own is often not enough. "Your order is with the courier" leads straight to "so when will it arrive?" The action answers the first part. Your knowledge has to answer the rest.

Add short, plain explanations to your website or an uploaded document:

If you have not set up your knowledge yet, this guide on how to teach the AI from your website and documents walks through it. With both pieces in place, a reply can sound like this:

AI: Your order left our warehouse yesterday and is with the courier. Deliveries to Abuja usually arrive within a few working days. The rider will call the phone number on your order before arriving.

Check that the delivery times you write down are ones you can actually keep. The AI will repeat them faithfully.

Test before customers see it

Use the playground to try real questions before you switch anything on. Type them the way customers do, typos and all. "wher is my oder 1042". "Abeg, the shoe I bought, has it left?" "Do u have the red one still".

Watch for three things. Does the AI call the right tool? Does it explain the result clearly? And when it cannot help, does it hand over to a person instead of making something up? When the AI is not confident, it hands off to a human, and every question it could not answer is logged. Review that log weekly. It shows you which questions need a new action, better knowledge, or simply a human. This article on fixing the questions your AI could not answer covers that routine.

What software cannot fix

An AI that reports order status accurately will also report bad news accurately. If the courier is late, the AI will tell customers the order is still in transit, and they will still be annoyed. If your stock count in the store is wrong because someone forgot to update it after a market day sale, the AI will cheerfully tell a customer the item is available.

So the real work sits upstream. Keep order statuses updated in the store as parcels move. Keep stock counts honest. Agree with your courier what happens when a delivery slips, and tell your team. The AI only frees your people from looking things up. It does not replace the judgement needed when something has gone wrong, and those conversations should still reach a person who can apologise and fix it.

A sensible first week: approve order status and stock check only, write your status explanations, test twenty real questions in the playground, then turn it on and read the unanswered log every Friday. Add more actions once those two are working well. If you do not have a workspace yet, you can create one for free and start with the website chat and knowledge before moving up to AI Actions.

Try Chatly free. Live chat, a shared inbox and AI answers from your own content, ready the same afternoon.

Create your workspace

Keep reading

Greet visitors on the right page with triggersReply to customers from your Android phoneConnect Chatly to your other tools with webhooks