/
/
Copy Shopify tracking numbers onto the Dynamics GP order
For order and fulfilment teams who want tracking numbers from Shopify added to the matching Dynamics GP sales document, by asking their AI assistant.
On this page
Connector
Connect Shopify, pick your AI tool and paste the prompt.
The problem
Tracking numbers sit in Shopify while GP stays blank
Fulfilled Shopify orders get tracking numbers in Shopify, but the matching sales document in Dynamics GP stays blank. Copying them across means finding the GP document by customer PO and keying each number by hand.
Without PopdockAI
- Open the Shopify order and each fulfillment
- Copy every tracking number by hand
- Search Dynamics GP for the document by customer PO
- Retype numbers and hope none were cut short
With PopdockAI
- Every distinct tracking number is collected from the order
- The GP sales document is found by customer PO, unposted first
- You see the document and numbers and confirm first
- Each number is added once and failures are reported
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Add the tracking numbers from the Shopify order `{order-name}` to the matching Dynamics GP sales document.
**Step 1: Read the Shopify tracking**
Call `shopify-get-fulfillment-tracking-info` (Shopify server) with `order-number` = the number in `{order-name}` without the #. If nothing comes back, call `shopify-get-order` (Shopify server) with `name` = `{order-name}` and then `shopify-get-fulfillment` (Shopify server) with its `order-id`. Collect every distinct `tracking-number` with its `tracking-company`. If there are none, say the order has no tracking yet and stop.
**Step 2: Find the GP document**
Call `dynamics-gp-get-rm-sales-trx` (Dynamics GP server) with `customer-po-number` = `{order-name}`, passing `company` = `{gp-company}` when it is given. Retry without the leading # if nothing matches. If several documents match, prefer the one that is not yet posted and list the others. If none match, report the order as missing from GP and stop.
**Step 3: Confirm**
Show the GP `sop-number` and `sop-type` and the tracking numbers to add. Wait for an explicit yes.
**Step 4: Write**
Call `dynamics-gp-rm-sales-trx-add-tracking` (Dynamics GP server) once per tracking number, with `sop-number`, `sop-type` and `tracking-number`.
**Step 5: Report**
The GP document, each tracking number added, and any that failed with the error.
**Rules & Guidelines:**
* The only write tool this prompt may call is `dynamics-gp-rm-sales-trx-add-tracking` on the Dynamics GP server, once per tracking number, after confirmation.
* Do NOT call `dynamics-gp-rm-sales-trx-update` or any Shopify write tool such as `shopify-update-order`.
**Validation:**
* GP tracking numbers are limited in length; if one is longer than 40 characters, show it and skip it rather than truncating it.
* Do not add a tracking number twice when Shopify lists it on several fulfillments.Who it's for
One answer, three teams that use it
Customer service reps
Answer shipping calls from GP
Tracking numbers appear on the GP sales document, so you can tell a caller where their parcel is without opening Shopify.
Copy the tracking for Shopify order #2210 onto its Dynamics GP sales document.
Order processing
Stop retyping tracking numbers
Numbers are copied exactly, once each, and long ones are skipped rather than cut short.
Add the tracking numbers from Shopify order #1987 to the GP document with customer PO 1987.
Shipping coordinators
Keep split shipments complete
Every fulfillment's tracking is gathered, so orders shipped in several parcels show all of them in GP.
Shopify order #2054 shipped in three boxes. Put all the tracking numbers on the Dynamics GP order.
How it works
What PopdockAI does when you ask
You give the Shopify order, and your AI assistant collects its tracking numbers and finds the matching Dynamics GP document. Nothing is written until you confirm, and Shopify is not changed.
01
Ask
You give the Shopify order name.
02
Collect
It gathers every distinct tracking number from the order's fulfillments.
03
Find
It finds the Dynamics GP sales document by customer PO, preferring an unposted one.
04
Add
You confirm, and it adds each tracking number once and reports failures.
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-fulfillment-tracking-info
shopify-get-order
shopify-get-fulfillment
microsoft-dynamics-gp-get-rm-sales-trx
microsoft-dynamics-gp-rm-sales-trx-add-tracking
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
Shipping questions answered from one place
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)
