# Add a Free Gift to Orders Over a Set Amount

> Puts a free gift in the cart by itself when the order total is high enough, to lift your average order value.

- 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/free-gift-over-threshold/

## The prompt

```text
I want to add a free [product name] to every order over $[amount]. Find that product and check it is in stock and how many I have. Create a coupon with the code [code] that adds 1 of that product to the cart for free. Then set it to apply by itself when the cart subtotal is at least $[amount]. Show me the product, stock level and coupon setup first, and wait for my OK before you create anything.
```

## What happens when you paste it

You: I want to add a free [product name] to every order over $[amount]…

Assistant: Found Travel Tote (ID 482, SKU TT-01), in stock with 140 units. No coupon called FREETOTE exists yet. Calling: `woocommerce/products-query`, `advanced-coupons/create-add-products-coupon`, `advanced-coupons/set-auto-apply`, `advanced-coupons/get-coupon`.

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

Assistant: FREETOTE now adds 1 Travel Tote free to the cart and applies by itself when the subtotal reaches $100. I checked the saved coupon and the condition is in place.

## 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.
- **Create free gift coupon** (`advanced-coupons/create-add-products-coupon`, asks first, from Advanced Coupons): Creates a coupon that adds chosen products to the cart, free or at a discount.
- **Auto-apply coupon** (`advanced-coupons/set-auto-apply`, asks first, from Advanced Coupons): Applies a coupon to the cart by itself when its cart conditions are met.
- **Get coupon details** (`advanced-coupons/get-coupon`, read only, from Advanced Coupons): Shows every setting on one coupon, including cart conditions, schedule and URL settings.

## Variations

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

- Give the gift at 50% off instead of free.
- Stop the auto-apply on coupon [code] but keep the coupon.
- Use [product name] as the gift instead, and check its stock first.

## 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/
