# Clear Slow Stock With a Limited-Time Coupon

> Finds what is gathering dust and sets up a short, sharp coupon you can promote to move it.

- Job: [Marketing & promos](https://storeagent.ai/mcp-recipes/job/marketing/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~45 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + Advanced Coupons
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/slow-stock-coupon/

## The prompt

```text
Find products with more than 20 units in stock that sold fewer than 5 units in the last 60 days, using my orders. Then create a 20% off coupon code with Advanced Coupons that expires in 14 days, so I can promote those products. Show me the coupon settings before you create it.
```

## What happens when you paste it

You: Find products with more than 20 units in stock that sold fewer than 5 units in the last 60 days, using my orders…

Assistant: 12 slow movers with 20 or more units on hand. Calling: `woocommerce/products-query`, `woocommerce/orders-query`, `advanced-coupons/create-coupon`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Created coupon CLEAROUT20: 20% off, expires on the 15th. Your 12 slow movers are listed above for the promo.

## Abilities this recipe calls

- **Find products** (`woocommerce/products-query`, read only, from WooCommerce): Finds products by name, SKU, status, type or stock status, with prices and stock.
- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **Create coupon** (`advanced-coupons/create-coupon`, asks first, from Advanced Coupons): Creates a new percentage or fixed amount coupon with optional cart conditions.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Make it a fixed $10 off instead.
- Limit it to 100 uses.

## Related recipes

- [Fix Google Shopping Feed Problems](https://storeagent.ai/mcp-recipes/feed-errors.md): Tells you exactly what is wrong with each feed's setup, and which products are being left out, in plain English.
- [Add Conversation Starters That Mention Your Current Sale](https://storeagent.ai/mcp-recipes/chat-proactive-starters.md): Writes short pop-up messages for the chat assistant that point shoppers to what is on sale right now.
- [Write Clear Descriptions for Your Coupons](https://storeagent.ai/mcp-recipes/coupon-descriptions.md): Writes a plain description of what each coupon gives and its conditions, ready to paste into emails or your coupon page.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
