“It says delivered, but there’s nothing at my door.” Shopify can tell your agent when the carrier marked a parcel delivered. The shopper is telling you something the carrier scan cannot settle. A teammate needs both pieces of information in one conversation.
Build the answer for two orders in a Shopify development store. For one, the shopper should receive a tracking link even though Shopify has no delivery estimate. For the other, a teammate should receive the missing-parcel report and be able to reply in the same storefront chat. You’ll need permission to install the app and edit the test theme, plus an order placed with an email address you control.
The lookup supplies shipment facts. A shopper’s report can still require an investigation.
Here are two sample responses to use when you review your own test order. The order numbers are fictional.
| What the shopper sends after verifying the order | What a useful reply tells them |
|---|---|
| “When will #4101 get here?” The carrier supplied a tracking link and left the estimate empty. | “Your parcel has a tracking link. The carrier hasn’t supplied a delivery date yet.” Include the link returned for that parcel. |
| “#4103 says delivered, but I never got it.” The lookup includes a delivered date. | “I can see the carrier marked it delivered. I’ll ask our team to investigate the missing parcel.” Check that the conversation reaches the team before treating the transfer as complete. |
The matched-order and empty-result examples were checked with synthetic order data. To verify the whole journey, use the storefront and Inbox test in step 5.
Connect the test store and open its agent
- Sign in to Shopify as an administrator for the test store. Open the Quickchat AI app listing, select Install and complete the store authorization. If your store already has the app, open it from Apps in Shopify admin. Use the agent connected to this store.
- On the Quickchat AI welcome page, select Enable Widget in Shopify Theme Editor. In the theme editor, open App embeds, turn on Quickchat AI Widget and select Save. Open your test storefront preview and look for the chat bubble. The illustrated Shopify setup shows each control.
- In Shopify admin, open Orders and select a recent test order. Write down its order number including the prefix, its checkout email, its fulfillment status and any tracking shown. If your test store has no orders, follow Shopify’s test order instructions there first. Switching a live store’s payment provider into test mode interrupts real checkouts.
1. Check what the installed order lookup returns
In Actions & MCPs, check that Check order status is present and enabled. Quickchat AI adds this Action when the Shopify app connects to your store. It looks up an order using the order number and the email used at checkout. Both must match. Ask for the missing value if the shopper supplies only one. If the lookup returns no match, ask the shopper to check both values. Use the same reply for a mistyped order number and a mismatched email so the reply cannot reveal whether someone else’s order exists.
Try one lookup before writing the rules. In AI Preview, ask “Where is order [your test order number]? I used [your test checkout email].” Replace both placeholders. Compare the reply with the order you opened in Shopify. In a new Preview chat, use the same number with a different email. The reply should ask you to check the details without disclosing any shipment information. If Check order status is missing, verify that you opened the agent connected through the Shopify app. Pasting a widget snippet on a storefront adds chat but does not authorize access to orders.
The Action can return the order’s fulfillment status and shipment details such as carrier, tracking link, estimated delivery date and delivered date, when Shopify supplies them. Order totals, item details and customer information are outside this lookup. In Shopify, one order can have multiple fulfillments. A tracking number or delivered date describes the fulfillment it belongs to. It cannot establish which item was in that parcel from the data available to this Action. Quickchat AI order lookup · Shopify fulfillment fields
| Case | What the agent can report | Next step |
|---|---|---|
| The order matches and has tracking but no estimated delivery date | Share the returned carrier or link. Say a delivery estimate is unavailable. | Offer the tracking link. Escalate if the shopper reports a missed delivery commitment. |
| The order matches and has no tracking number or link | Share the returned fulfillment status. Say tracking details are unavailable. | Offer help from the team if the shopper needs an update. Ask the teammate to check the Shopify fulfillment or the fulfillment provider. |
| The order is partially fulfilled | Share the partial status and the tracking details that came back. | Hand off questions about which items shipped or when the remaining items will ship. |
| A parcel is marked delivered and the shopper says it is missing | Give the recorded delivery date if available and acknowledge what the shopper reported. | Hand off for investigation. The teammate can check the shipment and decide next steps. |
| The shopper reports a damaged item or parcel | Confirm what the shopper reported and collect only the details your team needs. | Hand off with the order reference and damage description. Follow your published policy for evidence or photos. |
| The shopper asks about your return policy or requests a refund | Answer a general policy question from your current store policy. | Hand off a request to start a return, approve an exchange, or issue a refund. The built-in Shopify Action reads order status. Your team completes those requests. |
We checked a local test fixture against the Quickchat AI order response filter. A matched order, #4101, kept the carrier and tracking URL and returned an empty estimated delivery date. The filter removed the fixture’s checkout email and order total. An empty set of order results produced an empty response. Use a test order from your own store to check the conversation and the handoff below.
If several matched orders have no tracking details, inspect their fulfillment records in Shopify Admin before changing the chatbot. Some shipments travel without tracking. For third-party fulfillment, check whether the provider sends tracking numbers and links back to Shopify. When the customer already has the shipping confirmation, the agent can point them back to its tracking link without constructing a new URL. Shopify’s order tracking troubleshooting
2. Add the policy shoppers should hear
In Knowledge Base, add your current shipping and returns pages. Include the return window, how it’s measured, exceptions such as final-sale items, and the official contact or returns link. Wait for the articles to show Ready before testing. If two pages give different return windows, resolve that conflict in the sources first. Knowledge Base setup
3. Give order exceptions their own procedure
Under AI Agent → Procedures, select New procedure. Name it Shopify delivery exception. Under When should the AI use it?, choose AI decides. Enter this condition in When to use.
The shopper asks about missing tracking or a delivery estimate, a missed delivery date, part of an order that has not arrived, a parcel marked delivered that they did not receive, or a damaged delivery.
The Procedure editor in the Quickchat AI documentation. Use the exception name and condition above for your store.
Paste these steps into Instructions. Save with Enable on when you are ready to test the selected agent. A saved change to an enabled procedure applies on the next reply, including in existing conversations. Use a test agent or development store for the first run if the storefront is already serving customers. Procedure setup and testing
Copy the Shopify delivery exception instructions
1. Ask for the order number and checkout email if either is missing. Use Check order status after you have both.
2. If the lookup does not return a matching order, ask the shopper to check both details. Give no order information. If the Action reports a temporary error, say the lookup is unavailable and offer help from the team.
3. Report the fulfillment and tracking information returned by the lookup. Say when tracking or a delivery estimate is unavailable and offer help if the shopper needs more information. If only part of the order shipped, describe only the shipments the lookup returned and leave item-by-item questions to the team.
4. If the shopper reports a missed promised date, damage, or a parcel marked delivered that they have not received, acknowledge their report and hand the conversation to a teammate. Collect the issue description and include the order number and any relevant tracking or delivery date in the handoff.
5. Leave decisions about replacements and refunds to the teammate handling the case.
Keep the returns boundary in AI Agent → Identity → Main Prompt so it applies even when the shopper says nothing about a delivery exception. Add a line such as Explain general return and refund policies using the Knowledge Base. Hand off requests to initiate a return, approve an exchange or issue a refund. Identity settings
4. Set up the destination for exceptions
Under Actions & MCPs → Human Handoff, enable the Action and open Edit Action. Under Handoff Rules, add an enabled rule named Shopify order investigation. Describe the situations that require a person using language your shoppers use.
Hand off when a shopper says a parcel marked delivered is missing, reports delivery damage or a missed promised date, needs the team to identify an item missing from a split shipment, or asks to start a return, approve an exchange or issue a refund. A question about the general returns policy can be answered from the policy article.
The Human Handoff guide’s Cedar Desk demo shows where custom rules appear. Create your store’s investigation rule in the same section.
Enable AI Summary so the teammate can review the issue in the Inbox. Set your team’s working hours, time zone and out-of-hours message. If you configure topic routing, check which teammate receives a match. Cases without a matching teammate can appear in the unassigned queue. Avoid a blanket refund keyword if the agent should answer general policy questions, because a keyword can trigger handoff regardless of the shopper’s intent. Human Handoff setup
5. Test what the shopper and teammate see
Use a development store or authorized test orders. The order numbers, email and expected outcomes below are illustrative. Replace them with your own test fixtures, and start a new conversation for each scenario. AI Preview and Testing spend AI credits. Testing can also call enabled external Actions. Keep Actions that write to a carrier, helpdesk or payment system pointed at test endpoints or switched off for these checks. Testing workflow · AI credit usage
| Fixture | Send these messages | Pass condition |
|---|---|---|
#4101 matches shopper@example.com and has a tracking link with no estimate | Where is order #4101? then shopper@example.com | The agent asks for the email before looking up the order. It shares the link and says the estimate is unavailable. |
#4101 with a different email | Track #4101. I checked out with different@example.com. | The reply asks the shopper to verify both details. It reveals no tracking information or indication that the order exists. |
#4102 is partially fulfilled with one tracking link | Which part of #4102 shipped? I used shopper@example.com. | The reply reports partial fulfillment and available tracking. The item-level question reaches the team. |
#4103 has a delivered date | Track #4103. I used shopper@example.com. then It says delivered, but I never got it. | After the matched lookup, the reply acknowledges the missing parcel claim. The handoff carries the order reference and delivery record, and promises no resolution. |
#4104 has a matched order | My order #4104 arrived damaged. I used shopper@example.com. Can I get a replacement? | The handoff carries the issue and order reference. The agent leaves the replacement decision to the team. |
#4105 matches and has fulfillment status but no tracking number or link | Where can I track #4105? I used shopper@example.com. | The reply distinguishes the known fulfillment status from the missing tracking details. It offers team help and gives no invented URL. |
| The policy includes a return window and an exception | What is your return window? then Please refund my order #4104. | The first answer cites the policy facts. The second request reaches the team without a claim that the refund was issued. |
Start in AI Preview to check the multi-message flows, especially the missing-email follow-up and the change from a policy question to a refund request. For repeatable checks, use Conversations → Testing. Each dataset entry runs as a separate simulated message, so include both order details in a single entry when you want to test a matched lookup there. Reuse the same entries after editing a policy or procedure. Quickchat AI Testing
6. Verify delivery through the storefront
Then send an exception message through the widget on your test storefront. In Conversations → Inbox, confirm that the conversation reached the expected teammate or the Open → Unassigned queue, and read the summary. The teammate should be able to identify the shipment and take over without asking the shopper to repeat what happened. Send a human reply and confirm that the storefront visitor receives it. Run a second check outside your configured working hours if you use a different after-hours message. Inbox handoff controls
If the handoff looks correct in Inbox but the shopper sees nothing, send a distinctive test reply such as I’m checking the carrier scan for #4103. Keep the storefront tab open. Compare that text in both places. If the summary lacks the original complaint, read the preceding customer turn: the teammate should know the shopper reported nonreceipt even though the carrier recorded delivery.
What to track after rollout
Review routine order lookups separately from cases that need investigation. For routine requests, count the share of matched lookup conversations where the agent supplied the available tracking details. For exceptions, sample handed-off conversations and count the share where the teammate had an order reference and a clear description of the issue. Track the time from handoff to first human reply for the same period. A higher handoff rate can be correct if the old agent routinely closed delivered-but-missing cases on the strength of a carrier scan. Order tracking setup and measurement
Frequently asked questions
Can a Shopify chatbot give an estimated delivery date when tracking has no estimate?
It can share an estimate returned by the fulfillment lookup. If the field is empty, share the available tracking details and tell the shopper that an estimate is unavailable.
Can the agent say which item shipped in a split order?
The built-in lookup returns fulfillment status and shipment tracking, while item details stay outside the response. Hand off questions about a particular item when the available tracking cannot answer them.
Can the built-in Shopify Action process a return or refund?
The built-in Action checks order status. The chatbot can explain your policy and send an individual return or refund request to your team for processing.