# Say Sorry With Store Credit

> Gives a small credit to every customer whose order is running late, with a note explaining why.

- Job: [Customers](https://storeagent.ai/mcp-recipes/job/customers/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~30 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/store-credit-delays/

## The prompt

```text
Find orders from the last 30 days that were placed more than 7 days ago and are still Processing or On hold. For each customer, add $10 of Advanced Coupons store credit with the note 'Sorry your order is taking longer than usual'. List them for me first and wait for my OK.
```

## What happens when you paste it

You: Find orders from the last 30 days that were placed more than 7 days ago and are still Processing or On hold…

Assistant: 17 orders from the last 30 days are still waiting after 7 days. Calling: `woocommerce/orders-query`, `advanced-coupons/adjust-store-credit`.

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

Assistant: Added $10 store credit to 17 customers, $170 in total.

## 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.
- **Adjust store credit** (`advanced-coupons/adjust-store-credit`, asks first, from Advanced Coupons): Adds or removes store credit for a customer, with an optional email to them.

## Variations

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

- Make it $5 for orders under $50.
- Only include orders that are On hold.

## Related recipes

- [Find Your VIP Customers](https://storeagent.ai/mcp-recipes/vip-customers.md): Your top spenders and most loyal repeat buyers, plus the ones who have gone quiet.
- [Give a Customer Membership Access by Hand](https://storeagent.ai/mcp-recipes/grant-membership.md): Finds the customer from their orders, checks what they already have, then adds the plan you choose.
- [Set Which Chat Topics Go Straight to a Human](https://storeagent.ai/mcp-recipes/chat-escalation-rules.md): Checks real shopper chats for refund, billing and order problems, then sets the assistant to hand those chats to your team.

---

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/
