What the agent can do with Shopify orders
Order details, tracking, refunds, cancellations and discount codes, and how the agent checks who the customer is.
With the order actions your agent answers the questions webshops get most: where is my order, can I cancel it, has my refund come through. Each action does one thing, and you switch on only the ones you want.
How the agent checks the customer
For anything about one specific order, the agent checks two things: the order number and the email address of the order. The email check is forgiving with typos and spelling differences, which helps on the phone.
- When the agent looks something up, it fetches the order first and only shares the details once both answers match.
- When the agent changes something, it checks first and only then makes the change.
If an answer is wrong, the customer may try again. After repeated wrong answers the agent ends the request politely, shares nothing and changes nothing. The check questions are already set in every order action.
The order actions
| Action | What the agent does |
|---|---|
| List Orders | Shows the recent orders for an email address: order number, total and status. |
| Get Order | Shows the details of one order after the check. |
| Get Order Tracking | Gives the carrier, the tracking number and the tracking link, if the order has shipped. |
| Get Refund Status | Tells whether a refund was made, for how much and when. |
| Create Refund | Refunds an item from an order after the check and after the customer confirms item and quantity. |
| Cancel Order | Cancels an open order after the check and after the customer confirms. |
| Update Order | Adds an internal note or tags to an order. The customer does not see these. |
| Look Up Discount Code | Checks whether a code is valid and what discount it gives. |
| List Active Promotions | Lists the promotions that run right now. |
Discount codes and promotions need no check, because they contain no personal data.
When something cannot be done
The agent always tells the customer what happened. For example:
- The order has already shipped or was cancelled before: the agent says it cannot be cancelled and suggests a return or refund instead.
- A refund is not possible, for example because the item was already refunded or the payment method does not allow it: the agent explains this and refers the customer to your shop.
- No orders are found for the email address: the agent asks the customer to check the spelling or try another email address.
Tags replace each other
Update Order replaces all existing tags on the order. When the agent adds a tag, it first fetches the current tags and keeps them.
Frequently asked questions
Does the customer get an email after a refund?
Does the customer see internal Shopify numbers?
Related articles
Connect Shopify
Connect your Shopify store so your AI agents can help customers with orders, accounts and products.
What the agent can do with Shopify customers
Find, show, create and update customer accounts and addresses, with a check before personal data is shared.
Shopify does not work as expected
The agent ignores Shopify, actions fail, checks keep failing or product cards do not show.
Was this page helpful?