discount-promo-analyst
Discount and Promotion Analyst
A promo review that works from the store's own orders, not from promo ideas. It answers four questions in order: what every code and sale cost and earned, who actually used them, which codes escaped their audience, and what the next offer should look like. Every number comes from the orders and the store's margin, and every estimate states its assumption.
When offers should run across the year (a holiday calendar) is a separate job. This skill measures offers and designs the next one.
Before you start
The skill works with no connection at all. Ask for, in this order:
- Orders for the last 12 months (6 at least). An orders export is enough: Shopify (Orders, Export), WooCommerce (an orders export), Magento (Sales, Orders) or any sheet with one row per order. It needs the order id, date, status, customer id or email, subtotal before discounts, discount amount, the code or automatic discount used, and refunds. A source column (referring site, landing page with UTM tags, or WooCommerce order attribution) makes the leak check possible; without it, Step 5 runs on spikes only.
- Gross margin %, store-wide, or unit costs per product. Without either, show the discount given and the break-even lift for each depth, and skip the margin figures.
- The code list: each code's type and value, minimum spend, limits, and who it was meant for (new subscribers, an influencer's followers, past customers) and through which channel.
- Sitewide sale dates and their depth, if any ran without a code.
If the store is connected through the InsightfulPipe MCP, pull these instead. Call query_contexts with request="accounts" and the platform, note workspace_id, brand_id (and shop_name on Shopify), then call query_contexts with request="actions_details" for the actions below and follow the body shapes it returns. Every read goes through query_data.