Skip to main content

Rank customers by revenue

Use customer analytics to understand purchase value without turning the result into a contact list.

Prompt

Rank the top customers by gross revenue for the last 30 days in GHS. Include exact revenue and paid-order counts with the Flint chart. Show customer IDs, but do not reveal names, contact details, or delivery addresses.

The agent uses get_customer_analytics. The result contains customer IDs and aggregate purchase activity, not personal contact data.

Sample response

Top customers by gross revenue

Customer IDs support permitted follow-up without exposing contact details.

Flint chart + ranking
Gross revenue by customerLast 30 days · GHS
CustomerPaid ordersGross revenue
cus_example_0112GHS 6,850.00
cus_example_029GHS 5,420.00
cus_example_037GHS 3,190.00

Illustrative values. The exact presentation depends on the MCP client.

To inspect one customer's exact aggregate activity, use Review a customer's revenue.