/
/
Find WooCommerce products priced below your GP cost
For finance teams who set web prices in WooCommerce and hold costs in Dynamics GP, and want margins checked by their AI assistant.
On this page
Connector
Connect WooCommerce, pick your AI tool and paste the prompt.
The problem
Products selling below cost without anyone knowing
Selling prices are set in WooCommerce while costs live in Dynamics GP. Seeing margins means exporting both, lining them up by SKU and working out percentages, so thin margins and below-cost products stay live until someone does it.
Without PopdockAI
- Export product prices from WooCommerce
- Export item costs from Dynamics GP
- Line them up by SKU in a spreadsheet
- Work out margins by hand
With PopdockAI
- Prices are read and each SKU looked up in PowerGP Online
- Margin is worked out from price and current cost
- Rows below your threshold or below cost are marked
- Unpriced and unmatched products are listed, 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.
**Objective:** For WooCommerce products matching `{name-contains}` (default: first 50 products), compare selling price with PowerGP `current-cost` in company `{company}` and flag any margin below `{min-margin-percent}` percent (default 20).
**Step 1: Read WooCommerce prices**
Call `woocommerce-get-product` (woocommerce server) with `name.contains` = `{name-contains}` and `max-records` 50. Keep `sku`, `name`, `regular-price`, `sale-price`, `price`.
**Step 2: Read PowerGP cost**
For each product with a `sku`, call `powergp-online-get-items` (powergp-online-ai server) with `item-number` = the SKU and `company` = `{company}`. Keep `current-cost`. The join is WooCommerce `sku` = PowerGP `item-number`.
**Step 3: Report**
A table: SKU, name, current selling `price`, `current-cost`, margin percent = (price - cost) / price * 100. Sort lowest margin first. Mark rows below `{min-margin-percent}` (20 if empty) and rows selling below cost.
**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:**
* Skip rows with price 0 or empty and list them.
* If the two systems use different currencies, say margins are indicative only.
* No match in PowerGP: list the product as having no cost and continue.Who it's for
One answer, three teams that use it
Finance analysts
Check web margins against real cost
Get a table sorted from lowest margin, with products below your threshold marked.
Which WooCommerce products have a margin under 20 percent against Dynamics GP cost?
Pricing managers
Find products selling below cost
Rows where the selling price is under current cost are marked, so prices can be fixed quickly.
Are any WooCommerce products priced below their current cost in the TWO company?
Ecommerce managers
Review a product line before a sale
Check the margin on a range before discounting it, so the sale does not go below cost.
Check margins on WooCommerce products with Headphones in the name against GP cost, minimum 30 percent.
How it works
What PopdockAI does when you ask
You name the products and a minimum margin, and your AI assistant compares WooCommerce prices with GP cost. Margins are called indicative when currencies may differ, and nothing is changed.
01
Ask
You name the products and a minimum margin, or accept the default.
02
Read
It reads WooCommerce prices and looks each SKU up in PowerGP Online.
03
Calculate
It works out margin from the selling price and current cost.
04
Report
You get a table sorted by lowest margin with weak rows marked.
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.
woocommerce-get-product
powergp-online-get-items
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
Low and negative margins found in one request
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)
