# Say Sorry With Store Credit

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

- 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

- [Answer a Where Is My Order Question](https://storeagent.ai/mcp-recipes/trackship-where-is-my-order.md): Paste a customer's email and get the full tracking story plus a ready reply.
- [Find Failed Shipping Notifications](https://storeagent.ai/mcp-recipes/trackship-failed-shipping-notifications.md): See which tracking emails and texts never reached customers, and who needs a manual update.
- [Reorder Link for a Regular Customer](https://storeagent.ai/mcp-recipes/payplug-repeat-order-link.md): Rebuilds a customer's last order with current stock and prices, and sends a Payplug link to pay.

---

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/
