/
/
Rank an Akeneo product family by what actually sold
For sales teams who want catalog products ranked by Dynamics GP revenue by asking their AI assistant.
On this page
Connector
Connect Akeneo, pick your AI tool and paste the prompt.
The problem
Judging a family without its sales numbers
Merchandisers judge an Akeneo family by catalog data alone, because sales live in Dynamics GP and are tedious to match by SKU. Finding which products sell, and which never sold, takes a spreadsheet.
Without PopdockAI
- Export the family's SKUs from Akeneo
- Pull GP sales lines for the period
- Match and total by SKU in a spreadsheet
- Miss the products with no sales
With PopdockAI
- Up to 40 products read for the family
- Units, revenue, documents and customers totalled from GP
- Ranked by revenue, no sales listed apart
- Period stated, currencies never added
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Rank the products in the Akeneo family {family} by sales order line revenue in Dynamics GP since {from-date}, for the company {company}. Default the start date to 90 days ago.
**Step 1: List the family's products (akeneo)**
Call `akeneo-get-product` with family set to {family} and max-records 40. Keep identifier, product-name and brand. If nothing comes back, say so and stop.
**Step 2: Read the sales lines (dynamics-gp)**
For each identifier, call `dynamics-gp-get-rm-sales-line-item` with item-number set to it, document-date.from set to {from-date}, and company when given. Add up quantity and extended-price, and count distinct sop-number values and distinct customer-id values.
**Step 3: Report**
A table ranked by extended price: SKU, product name, brand, units, revenue, documents, customers. Name the products with no sales in the period as a separate list, and give the period used.
**Rules & Guidelines:**
* Tools starting keneo- are on the akeneo server (the product catalog, PIM). Tools starting dynamics-gp- are on the dynamics-gp server (the ERP). Both servers must be connected.
* The join key is the Akeneo product identifier (the SKU) and the Dynamics GP item number. Compare them exactly first, then trimmed and case-insensitive; report any record that only matches that loose way as a format mismatch rather than a match.
* Dynamics GP tools take an optional company; pass {company} when it is given, and say which company the answer is for.
* This prompt is read-only. Do not call any write tool on either server.
**Validation:**
* Sales lines include several document types (sop-type); say that the totals mix them unless you filtered, and do not net out returns unless the type shows them.
* Do not add amounts that are in different currencies; if any are unclear, say so.Who it's for
One answer, three teams that use it
Sales managers
See which products carry a family
Revenue and units per product show where sales come from.
Rank the outdoor family by Dynamics GP revenue for the last quarter.
Merchandisers
Find products that never sold
Products with no sales in the period are listed separately.
Which kitchen products in Akeneo had no Dynamics GP sales since June?
Category managers
Count customers per product
See how many customers bought each product, not just the revenue.
How many customers bought each footwear product in Dynamics GP since 2026-08-01?
How it works
What PopdockAI does when you ask
You name a family and a start date, and your AI assistant totals each SKU's Dynamics GP sales. It warns that totals mix document types and are not netted for returns.
01
Ask
You name a family, a start date and, if needed, a company.
02
List
It reads the family's products from Akeneo.
03
Total
It adds up each SKU's sales lines in Dynamics GP since the date.
04
Report
It ranks products by revenue and lists those with no sales.
What PopdockAI provides
The tools behind the answer
Ready made tools for Akeneo and one secure connection to your AI tool. No code, no exports.
akeneo-get-product
microsoft-dynamics-gp-get-rm-sales-line-item
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
A family ranked by what actually sold
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)
