Connectors

/

WooCommerce

/

WooCommerce product performance analysis
Report

See how one WooCommerce product is really performing

For product and ecommerce teams who want sales, refunds, reviews and stock cover for a single WooCommerce product from their AI assistant.

Try PopdockAI free
Get a live demo
WooCommerce product performance analysis
How has the Travel mug performed in WooCommerce over the last 90 days?
Travel mug sold 412 units for 7,416.00 USD in the last 90 days, up 18 percent on the period before. - Variations: Blue 52 percent, Black 31 percent, Red 17 percent - Refund rate: 6 percent, mostly leaking lids - Reviews: 4.1 average, 3 low reviews quoted - Stock cover: 9 days at the current pace Observation: reorder Blue soon and look into the lid complaints.
WooCommerce
Sample figures. Your results come from your own account.
woocommerce-get-product
woocommerce-get-product-variation
woocommerce-get-order-line
woocommerce-get-refund-line
woocommerce-get-product-review
woocommerce-get-report-top-sellers

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

One product's performance spread across five reports

Answering how one WooCommerce product is doing means adding up its sales, splitting them by variation, checking refunds and reviews and comparing stock with demand. Each piece lives in a different report.

Without PopdockAI

  • Add up sales for the product
  • Split them by variation
  • Check refunds and reviews separately
  • Compare stock with demand by hand

With PopdockAI

  • The product or variation is identified, listing candidates if needed
  • Units, revenue, orders and trend are reported
  • Refunds, reviews, ranking and stock cover are added
  • Two or three observations close it, 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:** Analyze how the product `{product}` (a SKU or a name) has performed over the last `{lookback-days}` days (default 90).

**Step 1: Identify the product**

1. Call `woocommerce-get-product` with `sku` = `{product}`.
2. If nothing matches, call `woocommerce-get-product-variation` with `sku` = `{product}`. A match is a variation: keep its `product-id` (the parent) and `product-variation-id`.
3. If still nothing, call `woocommerce-get-product` with `name.contains` = `{product}`. If that returns more than one, list name, SKU and id, and stop.

Keep the product id, `name`, `type`, prices, `stock-quantity`, `stock-status`, `average-rating` and `total-sales`. For a `variable` product, call `woocommerce-get-product-variation` with `product-id` to list its variations.

**Step 2: Sales**

Call `woocommerce-get-order-line` with `line-product-id` = the product id and `date-created.from` = today minus `{lookback-days}` days. If the match was a variation, use `line-sku` = its SKU instead. Keep lines whose `order-status` is `processing`, `completed` or `on-hold`.

* Units, revenue (`line-total`), orders, distinct customers, average selling price.
* Trend: compare the first and second half of the period.
* For a variable product: units and revenue per `line-sku`.

**Step 3: Refunds, reviews, ranking**

* `woocommerce-get-refund-line` with `line-item-product-id` (or `line-item-sku` for a variation) and `created-date.from`: refunded units and amount; refund rate = refunded units / units sold.
* `woocommerce-get-product-review` with `product-id` and `created-date.from`: count, average `rating`, and the text of any rated 2 or below.
* `woocommerce-get-report-top-sellers` with `product-id`: whether it appears in the store's top sellers. That report's period is fixed by the connector, so label it as such.

**Step 4: Report**

1. Headline: units, revenue and the trend direction.
2. Product facts: name, SKU, type, price, stock, all-time `total-sales`, overall rating.
3. Sales table for the period, and the per-variation split for a variable product.
4. Refunds and reviews, with any low review quoted briefly.
5. Stock cover: stock / (units / `{lookback-days}`), in days.
6. Two or three observations, e.g. a variation that is selling out, a rising refund rate, a sale price that has not lifted units.

**Rules & Guidelines:**

* This prompt is read-only. Do not call any write tool: `woocommerce-add-order`, `woocommerce-update-order`, `woocommerce-add-order-note`, `woocommerce-send-order-details`, `woocommerce-add-refund`, `woocommerce-add-customer`, `woocommerce-update-customer`, `woocommerce-add-product`, `woocommerce-update-product`, `woocommerce-update-product-variation`, `woocommerce-add-coupon`, `woocommerce-update-coupon`.
* To change the price or stock, point the user to the update-product-by-sku prompt.
* If the rows carry more than one `currency`, report each currency separately. Never add amounts across currencies.

**Validation:**

* If nothing matches `{product}` by SKU or name, say so and stop.
* If `{lookback-days}` is empty or not a number, use 90.

Who it's for

One answer, three teams that use it

Data analysts

Analyse a product without five exports

Units, revenue, trend and variation split arrive in one answer, ready to share.

Analyse WooCommerce product BLEND-01 over the last 6 months.

Product managers

See what customers think

Refund rate and recent reviews, with low ones quoted, show where the product needs work.

What is the refund rate and review picture for the Desk lamp in WooCommerce this quarter?

Merchandisers

Check stock against demand

Days of stock cover and top seller status help you decide whether to promote or reorder.

Is the Wool scarf a top seller in WooCommerce, and how many days of stock do we have?

How it works

What PopdockAI does when you ask

You give a SKU or product name and a lookback, and your AI assistant pulls every view of the product into one report. It is read-only and keeps currencies separate.

01

Ask

You give a SKU or product name and a lookback period.

Your AI tool

02

Identify

It finds the product or variation, listing candidates if the name matches several.

woocommerce-get-product
woocommerce-get-product-variation

03

Read

It reads sales, refunds, reviews, ranking and stock.

woocommerce-get-order-line
woocommerce-get-refund-line
woocommerce-get-product-review
woocommerce-get-report-top-sellers

04

Report

You get the figures and two or three observations.

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

woocommerce-get-product-variation

Returns the variations of WooCommerce variable products with SKU, prices, sale flag and stock. Filter by parent product, SKU, status, stock status, price range, on sale or a low stock threshold.
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

woocommerce-get-refund-line

Returns the refunded product lines on WooCommerce refunds: product, SKU, quantity and amount. Filter by refund, order, customer, product id or SKU and date range.
get-data

woocommerce-get-product-review

Returns WooCommerce product reviews with rating, text, reviewer and whether the buyer is verified. Filter by product, rating range, status, reviewer email, verified and date range.
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.
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

How a product is really performing, in one report

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