# Create a Cashback Coupon That Pays Back in Store Credit

> Gives customers store credit after they buy, so the reward brings them back for a second order instead of cutting today's price.

- 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: ~20 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/cashback-coupon/

## The prompt

```text
I want a cashback offer that brings customers back. Look at my completed orders from the last 90 days and tell me the average order value. Suggest a cashback amount, as a percentage or a fixed amount, that is worth a second visit but does not cost too much. Then create a cashback coupon with the code [code] that pays out as store credit after a 14 day waiting period, so refunds are not rewarded. Set it to expire in 60 days. Show me the setup and wait for my OK before you create it.
```

## What happens when you paste it

You: I want a cashback offer that brings customers back…

Assistant: 412 completed orders in the last 90 days with an average order value of $68.40. A 10% cashback gives about $6.80 in store credit per order. Calling: `woocommerce/orders-query`, `advanced-coupons/create-cashback-coupon`, `storeagent/generate-coupon-description`, `advanced-coupons/update-coupon`.

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

Assistant: COMEBACK10 is ready: 10% back as store credit, paid 14 days after the order, expires 30 November 2026. I added a short customer description to the coupon.

## Abilities this recipe calls

- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **Create cashback coupon** (`advanced-coupons/create-cashback-coupon`, asks first, from Advanced Coupons): Creates a coupon that pays the customer back in store credit instead of a discount.
- **Write a coupon description** (`storeagent/generate-coupon-description`, read only, from StoreAgent): Writes a plain, customer-friendly description of what an existing coupon gives.
- **Update coupon** (`advanced-coupons/update-coupon`, asks first, from Advanced Coupons): Changes the amount, expiry, usage limit, description or conditions on a coupon.

## Variations

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

- Make it a fixed $[amount] cashback instead of a percentage.
- Limit the coupon to [number] uses in total.

## 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.
- [Clear Slow Stock With a Limited-Time Coupon](https://storeagent.ai/mcp-recipes/slow-stock-coupon.md): Finds what is gathering dust and sets up a short, sharp coupon you can promote to move it.
- [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.

---

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/
