/
/
Answer where-is-my-order emails in one step
For support agents who want a Shopify order's shipments, tracking and holds checked, with a ready reply, by asking their AI assistant.
On this page
Connector
Connect Shopify, pick your AI tool and paste the prompt.
The problem
One order question, five places to look
A where-is-my-order email means checking payment, shipments, tracking scans, what has not shipped and whether anything is on hold, all in different places in Shopify. Then you still have to write a reply that is accurate without exposing internal details.
Without PopdockAI
- Find the order and check payment
- Open each shipment and its latest scan
- Check unshipped items and any holds
- Write a reply without over-promising
With PopdockAI
- The order is found, asking you to confirm rather than guess
- Each shipment is read with carrier, tracking and latest scan
- Unshipped items, fulfill-by dates and holds are checked
- A staff summary and a customer reply, with no internal details
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find out where the order `{order-number}` (or the most recent order for the customer `{customer-email}`) is right now, and draft a short, accurate reply to the customer.
**Step 1: Find the order**
If `{order-number}` is given, call `shopify-get-order` filtered by `order-number`. If that returns nothing, retry with `name` set to the number prefixed with #. If only `{customer-email}` is given, call `shopify-get-order` filtered by `email` and take the most recent order by created-at. If both are empty, ask for one and stop. If several orders match and none is clearly the one meant, list them (order number, date, total, fulfillment status) and stop.
Note the order-id, financial-status, fulfillment-status, cancelled-at and created-at.
**Step 2: Check what has shipped**
* Call `shopify-get-fulfillment` filtered by `order-id` for each shipment's status, shipment-status, tracking company and tracking number.
* Call `shopify-get-fulfillment-event` filtered by `order-id` and take the latest event per fulfillment (happened-at, status, city, estimated-delivery-at).
* If there are no fulfillments, or tracking is missing, call `shopify-get-fulfillment-tracking-info` filtered by `order-id` as a fallback.
**Step 3: Check what has not shipped**
* Call `shopify-get-order-line` filtered by `order-id`. Any line with fulfillable-quantity above zero is still to ship.
* For unshipped items, call `shopify-get-fulfillment-order` filtered by `order-id` to see status, assigned location and fulfill-by date, and `shopify-get-fulfillment-order-hold` filtered by `order-id` to see whether anything is on hold and why (display-reason).
**Step 4: Report**
First a staff summary:
* Order: number, date, payment status, overall fulfillment status
* Shipped: per shipment, the items, carrier, tracking number, latest scan and estimated delivery
* Not yet shipped: items, location, fulfill-by date, and any hold reason
Then a customer reply of 3 to 6 sentences in plain language: what has shipped, where it is, when it should arrive, and what is still to come. Do not mention internal hold reasons, app names or risk checks in the customer reply; say only that the item is being prepared or is delayed.
**Rules & Guidelines:**
* This prompt is read-only. Do not call `shopify-update-order`, `shopify-update-customer` or any other add or update tool.
* Never promise a delivery date the carrier data does not show. If there is no estimated-delivery-at, say the carrier has not given one.
* If the order is cancelled (cancelled-at is set), say so first and do not describe it as in transit.
**Validation:**
* If no order matches, say so and ask the user to confirm the order number or email. Do not guess at a similar order.
* If the latest tracking event is more than 7 days old and not delivered, flag the shipment as possibly stalled in the staff summary.Who it's for
One answer, three teams that use it
Support agents
Answer order emails in one step
Get a staff summary and a ready reply for the customer from one question.
Where is the order for alex@contoso.com? She ordered last week.
Support team leads
Spot stalled shipments
Shipments with no scan for seven days are flagged, so agents escalate to the carrier.
Has Shopify order #2307 stalled in transit? Draft a reply for the customer.
Store owners
Reply without exposing internal notes
The customer reply leaves out hold reasons and app names, so you can send it as is.
Order #1876 is partly shipped and partly on hold. Write me a reply I can send the customer.
How it works
What PopdockAI does when you ask
You give an order number or email, and your AI assistant checks every shipment and unshipped item. It only reads and never promises a delivery date the carrier has not given.
01
Ask
You give an order number or customer email.
02
Find
It finds the order, asking you to confirm rather than guess.
03
Check
It reads each shipment and scan, then what has not shipped and any hold.
04
Report
You get a staff summary and a customer reply with no internal details.
What PopdockAI provides
The tools behind the answer
Ready made tools for Shopify and one secure connection to your AI tool. No code, no exports.
shopify-get-order
shopify-get-fulfillment
shopify-get-fulfillment-event
shopify-get-fulfillment-tracking-info
shopify-get-order-line
shopify-get-fulfillment-order
shopify-get-fulfillment-order-hold
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Accurate order answers without over-promising
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
