Connectors

/

PowerGP Online

/

Review PowerGP Online restock for WooCommerce top sellers
Report
Cross-Connector

See which web best sellers need restocking in GP

For buyers who watch WooCommerce top sellers and manage stock and purchase orders in Dynamics GP, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Review PowerGP Online restock for WooCommerce top sellers
Review the top 10 WooCommerce sellers against Dynamics GP stock and open purchase orders, and flag anything under 15 on hand.
Of the top 10 sellers, 6 are covered, 2 need watching and 2 need restocking. - Restock: BOLT-M8, 340 sold, GP on hand 9, nothing on order - Restock: NUT-M8, 280 sold, GP on hand 12, PO 4410 due 4 November - Watch: WASHER-6, GP on hand 40, on order 0 - Unmatched: Gift Card, no SKU Want the purchase order details for the restock items?
PowerGP Online
Sample figures. Your results come from your own account.
woocommerce-get-report-top-sellers
woocommerce-get-product
powergp-online-get-itemsitequantities
powergp-online-get-purchaseorders

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

PowerGP Online

PowerGP Online
Run it on your own PowerGP Online data.

Connect PowerGP Online, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Web best sellers outrun the restock decision in GP

Buyers see best sellers in WooCommerce, but stock and purchase orders sit in Dynamics GP. Deciding what to reorder means looking up each SKU, adding stock by location and checking open orders, and by then demand has moved on.

Without PopdockAI

  • Pull the top sellers from the web store
  • Look up each SKU in Dynamics GP
  • Add up stock across locations
  • Check open purchase orders one item at a time

With PopdockAI

  • The ten WooCommerce top sellers read with SKU and web stock
  • GP on hand and on order read for each SKU
  • Open purchase orders with vendor and promised date for low items
  • Unmatched products listed, and nothing 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:** Identify WooCommerce top sellers and show whether PowerGP stock and open purchase orders cover them, flagging anything with PowerGP on-hand below `{stock-threshold}` (default 10) in company `{company}`.

**Step 1: Top sellers**

Call `woocommerce-get-report-top-sellers` (woocommerce server) with `max-records` 10. Keep `title`, `quantity`, `product-id`. Then call `woocommerce-get-product` with `product-id` for each to get `sku` and `stock-quantity`.

**Step 2: PowerGP stock**

For each `sku`, call `powergp-online-get-itemsitequantities` (powergp-online-ai server) with `item-number` = the SKU and `company` = `{company}`. Sum `quantity-on-hand`; note `quantity-on-order`. The join is WooCommerce `sku` = PowerGP `item-number`.

**Step 3: Open purchase orders**

For items below the threshold, call `powergp-online-get-purchaseorders` with `item-number` and `company`. Report `po-number`, `vendor-name`, `quantity-ordered`, `promised-date`.

**Step 4: Report**

Table: product, units sold, WooCommerce stock, PowerGP on hand, on order, next promised PO date, and a status of Covered, Watch or Restock.

**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:**

* Products with no `sku` or no PowerGP item are listed as unmatched.
* If the top-sellers report is empty, say so and stop.

Who it's for

One answer, three teams that use it

Buyers

Reorder what is actually selling

Units sold sit next to GP stock and open orders, so you reorder the right items.

Which of our WooCommerce top sellers need restocking in Dynamics GP?

E-commerce managers

Protect your best sellers from stock-outs

Each top seller gets a status, so you know which ones are at risk before a campaign.

Check the top 10 web sellers against GP stock and flag anything under 20 on hand.

Inventory planners

See what is already on order

Next promised dates for low items show whether a restock is already coming.

For our best selling products, what is on order in GP and when is it due?

How it works

What PopdockAI does when you ask

You set a stock threshold or accept the default and your AI assistant compares WooCommerce sales with PowerGP Online stock. Each item gets a Covered, Watch or Restock status.

01

Ask

You set a stock threshold and company, or accept the defaults.

Your AI tool

02

Read

It reads the WooCommerce top sellers and their SKUs.

woocommerce-get-report-top-sellers
woocommerce-get-product

03

Check

It reads PowerGP Online stock and open purchase orders for each.

powergp-online-get-itemsitequantities
powergp-online-get-purchaseorders

04

Report

You get a table with a Covered, Watch or Restock status.

Your AI tool

What PopdockAI provides

The tools behind the answer

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

get-data

woocommerce-get-report-top-sellers

Returns the WooCommerce top sellers report: each product's title and quantity sold. Filter by product id or title.
get-data

woocommerce-get-product

Returns WooCommerce products with prices, stock, status, categories, total sales and average rating. Filter by SKU, name, category, type, status, stock status, price range or a low stock threshold.
get-data

powergp-online-get-itemsitequantities

Returns item site quantities 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-purchaseorders

Returns purchase orders 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 PowerGP Online 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

Best sellers restocked before demand runs ahead

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