/
/
Answer where-is-my-order tickets from live Shopify data
For support agents who want Zendesk order status questions answered from Shopify fulfillment and tracking, just by asking their AI assistant.
On this page
Connector
Connect Zendesk, pick your AI tool and paste the prompt.
The problem
Where is my order tickets take three screens to answer
Answering an order status ticket means finding the order number in the thread, looking it up in Shopify and reading fulfillment and tracking before you write back. Rush it and you can quote someone else's order or an internal hold reason to the customer.
Without PopdockAI
- Dig the order number out of the ticket thread
- Look up the order and its shipments in Shopify
- Copy the carrier and tracking link by hand
- Risk quoting the wrong customer's order
With PopdockAI
- The order is found from the ticket thread
- It stops if the order email does not match the requester
- Tracking, shipments and holds are read from Shopify
- The reply is posted only after you confirm
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Work out where the Shopify order behind Zendesk ticket `{ticket-id}` is (order `{order-number}` if given, otherwise the one the ticket refers to), draft a reply to the requester, and post it as a public comment only after the user confirms.
**Step 1: Read the ticket**
Call `zendesk-get-ticket` filtered by ticket-id `{ticket-id}` and note requester-name, requester-email and status. Call `zendesk-get-ticket-comment` filtered by ticket-id and look for an order number if `{order-number}` was not given.
**Step 2: Find the order**
If you have an order number, call `shopify-get-order` filtered by order-number, and retry with name set to # followed by the number. Otherwise call `shopify-get-order` filtered by email set to the requester-email and take the most recent order that is not cancelled. If several recent orders are unfulfilled, list them and ask which one is meant.
Confirm the order email equals the requester-email, ignoring case. If it does not, stop: do not disclose another customer's order. Say the email does not match and suggest asking the requester to confirm the order number.
**Step 3: Where it is**
* Call `shopify-get-fulfillment` filtered by order-id: status, shipment-status, tracking-company, tracking-number, tracking-url, created-at.
* For each fulfillment, call `shopify-get-fulfillment-event` filtered by fulfillment-id and take the latest status, city, happened-at and estimated-delivery-at.
* If there is no fulfillment, call `shopify-get-fulfillment-order` filtered by order-id, and `shopify-get-fulfillment-order-hold` filtered by order-id, to say whether it is waiting, scheduled or on hold.
**Step 4: Draft and confirm**
Draft a short, plain reply addressed to the requester by first name. Give the order name, where it is now, the carrier and tracking link if there is one, and the expected delivery date if Shopify has one. If the order is on hold, do not quote the internal hold reason. Say it is being looked into.
Show the draft to the user with the facts it is based on, and ask whether to post it.
**Step 5: Post**
Only after the user confirms, call `zendesk-add-ticket-comment` once with ticket-id `{ticket-id}`, body the confirmed text, and public true. Report the new comment id.
**Rules & Guidelines:**
* `zendesk-get-ticket`, `zendesk-get-ticket-comment` and `zendesk-add-ticket-comment` are on the zendesk server. `shopify-get-order`, `shopify-get-fulfillment`, `shopify-get-fulfillment-event`, `shopify-get-fulfillment-order` and `shopify-get-fulfillment-order-hold` are on the shopify server.
* `zendesk-add-ticket-comment` is the only write tool this prompt may call, once, after confirmation. Do not call `zendesk-update-ticket` to change status. Leave that to the agent. Do not call any shopify write tool.
**Validation:**
* If no order can be found, say so and suggest a reply asking for the order number. Post it only if the user confirms.
* If the user edits the draft, post their version exactly.
* If the user does not confirm, post nothing.Who it's for
One answer, three teams that use it
Support agents
Answer order status tickets in one message
Get a ready reply with the carrier, tracking link and expected delivery, drawn from Shopify and checked against the requester.
Draft a reply to Zendesk ticket 51004 telling the customer where their Shopify order is.
Ecommerce support leads
Keep order details private
The order email is checked against the ticket requester before anything is drafted, so another customer's order is never disclosed.
Answer ticket 49877 with the tracking for Shopify order 2215, but only if it belongs to the requester.
Store operations
Explain held orders without exposing internals
When an order is on hold, the reply is written for the customer and the draft is shown to you first, so internal hold reasons stay internal.
The customer on Zendesk ticket 50320 asks why order 1187 has not shipped. Check Shopify and draft a reply.
How it works
What PopdockAI does when you ask
You name the Zendesk ticket, and your AI assistant finds the Shopify order and drafts a reply with live tracking. Nothing is posted until you have read and approved the draft.
01
Ask
You name the Zendesk ticket, and optionally the Shopify order number.
02
Check
It finds the order and stops if its email does not match the requester.
03
Draft
It reads shipments, tracking and holds, then drafts a reply with the carrier and tracking link.
04
Confirm
You approve or edit the draft, and it is posted as a public comment.
What PopdockAI provides
The tools behind the answer
Ready made tools for Zendesk and one secure connection to your AI tool. No code, no exports.
zendesk-get-ticket
zendesk-get-ticket-comment
shopify-get-order
shopify-get-fulfillment
shopify-get-fulfillment-event
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, never the wrong customer's order
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)
