Connectors

/

Shopify

/

Copy Shopify tracking numbers to Dynamics GP
Write
Cross-Connector

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.

Try PopdockAI free
Get a live demo
Copy Shopify tracking numbers to Dynamics GP
Copy the tracking numbers from Shopify order #1042 to Dynamics GP.
Order #1042 has 2 tracking numbers, and its GP document is ORD100458. - Document: ORD100458, customer PO #1042, not posted - Tracking: 1Z999AA10123456784 - Tracking: 1Z999AA10123456791 Shall I add both to ORD100458?
Shopify
Sample figures. Your results come from your own account.
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

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Shopify

Shopify
Run it on your own Shopify data.

Connect Shopify, pick your AI tool and paste the prompt.

Try PopdockAI free

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.

Prompt
**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.

Your AI tool

02

Collect

It gathers every distinct tracking number from the order's fulfillments.

shopify-get-fulfillment-tracking-info
shopify-get-order
shopify-get-fulfillment

03

Find

It finds the Dynamics GP sales document by customer PO, preferring an unposted one.

microsoft-dynamics-gp-get-rm-sales-trx

04

Add

You confirm, and it adds each tracking number once and reports failures.

Your AI tool

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.

get-data

shopify-get-fulfillment-tracking-info

Returns the tracking numbers and carriers on Shopify fulfillments. Filter by fulfillment, order, tracking number and carrier.
get-data

shopify-get-order

Returns Shopify orders with their financial status, fulfillment status and total. Filter by order number or name, customer, email, financial status, fulfillment status, created date and total price.
get-data

shopify-get-fulfillment

Returns Shopify fulfillments with their status, shipment status and tracking number. Filter by order, customer, tracking number, status and created date.
get-data

microsoft-dynamics-gp-get-rm-sales-trx

Returns Sales Order Processing documents such as quotes, orders and invoices from Dynamics GP Sales, with the customer, dates, salesperson and document totals. Filter by batch number, customer ID, SOP type, SOP number, salesperson ID, document amount, customer name and document date, and pick the company and the maximum number of records.
run-action

microsoft-dynamics-gp-rm-sales-trx-add-tracking

Adds a sales transaction tracking number in Dynamics GP through eConnect; GP defaults any field not listed. Requires tracking number, SOP number and SOP type. Writes to the live Dynamics GP company database.
Read only.Nothing in Shopify Changes

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.

How Popdock AI secures your data

The outcome

Shipping questions answered from one place

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

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.

Try PopdockAI Free
See Documentation