Connectors

/

WooCommerce

/

Check a WooCommerce order against PowerGP Online sales
Report
Cross-Connector

Confirm a web order landed in Dynamics GP

For sales teams who take orders in WooCommerce and invoice in Dynamics GP, and want to check an order by asking their AI assistant.

Try PopdockAI free
Get a live demo
Check a WooCommerce order against PowerGP Online sales
Does WooCommerce order 10482 have a sales document in the TWO company in Dynamics GP?
Order 10482 has one matching sales document in PowerGP Online, with a small difference. - Order: 10482, 18 October, processing, total 642.50 USD - GP document: INV-3321, invoice, 19 October, 642.50 USD - Customer: Northwind Traders, PO matches the order number - Difference: 0.00 USD Want me to compare the order lines by SKU as well?
WooCommerce
Sample figures. Your results come from your own account.
woocommerce-get-order
woocommerce-get-order-line
powergp-online-get-salesdocuments
powergp-online-get-salestransactions

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

WooCommerce

WooCommerce
Run it on your own WooCommerce data.

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

Try PopdockAI free

The problem

Confirming a web order reached the ERP takes guesswork

Web orders are meant to flow into Dynamics GP, but confirming one did means searching sales documents by amount and date. Several close candidates make it easy to pick the wrong one.

Without PopdockAI

  • Read the WooCommerce order total and date
  • Guess a date window in Dynamics GP
  • Scan sales documents for a matching total
  • Pick the wrong one when several are close

With PopdockAI

  • The order and its lines are read
  • Sales documents near the order date are searched by total, name and PO
  • Every candidate is listed when several match
  • The amount difference is shown, and nothing is changed

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Check whether WooCommerce order `{order-number}` has a matching sales document in PowerGP company `{company}`, and compare the totals.

**Step 1: Read the order**

Call `woocommerce-get-order` (woocommerce server) with `order-number` = `{order-number}`. Keep `order-id`, `created-date`, `status`, `total`, `billing-last-name`, `customer-email`. Then call `woocommerce-get-order-line` with `order-id` for `line-sku`, `line-quantity`, `line-total`.

**Step 2: Search PowerGP sales**

Call `powergp-online-get-salesdocuments` (powergp-online-ai server) with `document-date.from` = the order date minus 7 days, `document-date.to` = the order date plus 30 days, `document-amount.min` = total minus 1, `document-amount.max` = total plus 1, and `company` = `{company}`. For candidates, check `customer-name` against the billing name and `customer-po` against the order number. Optionally call `powergp-online-get-salestransactions` with the candidate `document-number` and `item-number` = a `line-sku` to compare lines.

**Step 3: Report**

Order summary, the matching sales document (`document-number`, `document-type`, `document-date`, `document-amount`, `sop-document-status`) or the statement that none was found, and the amount difference.

**Rules & Guidelines:**

* Tools starting powergp-online- are on the powergp-online-ai server; tools starting woocommerce- are on the woocommerce server. Both servers must be connected.
* This prompt is read-only. Never call any WooCommerce write tool (`woocommerce-update-product`, `woocommerce-update-product-variation`, `woocommerce-add-product`, `woocommerce-update-order`, `woocommerce-add-order`, `woocommerce-add-order-note`, `woocommerce-add-refund`, `woocommerce-add-coupon`, `woocommerce-update-coupon`, `woocommerce-add-customer`, `woocommerce-update-customer`, `woocommerce-send-order-details`).
* Report what the tools return. Do not guess values.

**Validation:**

* If the order does not exist, stop. If it is unpaid or cancelled, say a missing PowerGP document may be expected.
* If several documents match, list them all and do not pick one.

Who it's for

One answer, three teams that use it

Sales operations

Answer where an order is

Confirm a web order made it into Dynamics GP, with the amount difference if there is one.

Has WooCommerce order 20931 reached Dynamics GP in company TWO?

Customer service agents

Check before you reply to a customer

Know whether the order is in the ERP before telling a customer it is being processed.

Find the Dynamics GP sales document for WooCommerce order 18877 in the TWO company.

ERP administrators

Investigate a missing order

See whether a document exists, or whether a missing one is expected for unpaid or cancelled orders.

WooCommerce order 21004 is missing from GP. Check for close matches by total and PO number.

How it works

What PopdockAI does when you ask

You give the order number and GP company, and your AI assistant looks for the matching sales document in PowerGP Online. It never chooses between close matches and changes nothing.

01

Ask

You give the order number and company.

Your AI tool

02

Read

It reads the WooCommerce order and its lines.

woocommerce-get-order
woocommerce-get-order-line

03

Search

It looks for sales documents with a matching total, name and PO number.

powergp-online-get-salesdocuments
powergp-online-get-salestransactions

04

Report

You get the match or a statement that none exists, with the difference.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for WooCommerce and one secure connection to your AI tool. No code, no exports.

get-data

woocommerce-get-order

Returns WooCommerce orders with status, totals, discounts, shipping, payment method and paid date. Filter by status, customer email or id, order number, created date range, total range or billing last name.
get-data

woocommerce-get-order-line

Returns the product lines on WooCommerce orders: product, SKU, quantity, price, line total and tax. Filter by order, customer, SKU or product id, order status and date range.
get-data

powergp-online-get-salesdocuments

Returns sales documents from the PowerGP Online connector (Microsoft Dynamics GP). Read-only; can be filtered by company and the record fields it offers.
get-data

powergp-online-get-salestransactions

Returns sales transactions from the PowerGP Online connector (Microsoft Dynamics GP). Read-only; can be filtered by company and the record fields it offers.
Read only.Nothing in WooCommerce 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

Know whether a web order reached Dynamics GP

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