# Email Wishlisters When a Product Is Back in Stock

> Sets up an automatic email to every customer who wishlisted a product when that product comes back in stock.

- 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: ~25 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + SaveTo Wishlist
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/back-in-stock-wishlist-email/

## The prompt

```text
Check whether I already have a wishlist automation for products that come back in stock. If there is one, show me its status, subject line and email text. If there is none, draft one that sends an email when a wishlisted product comes back in stock, with a short friendly subject, the product name, price and image. Show me the draft and wait for my OK. Then create it, or turn the existing one on, and confirm that it is active.
```

## What happens when you paste it

You: Check whether I already have a wishlist automation for products that come back in stock…

Assistant: You have 1 back-in-stock automation, ID 12. It sends an email but is inactive, and the email still uses the default text. Calling: `saveto-wishlist/list-automations`, `saveto-wishlist/get-automation`, `saveto-wishlist/create-automation`, `saveto-wishlist/update-automation`, `saveto-wishlist/toggle-automation`.

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

Assistant: Updated automation 12 with the subject "Good news, {product_name} is back" and your new email text, then turned it on. Wishlisters now get it when a saved product returns to stock.

## Abilities this recipe calls

- **List wishlist automations** (`saveto-wishlist/list-automations`, read only, from SaveTo Wishlist): Lists your wishlist automations, filtered by trigger, action or status.
- **Get wishlist automation** (`saveto-wishlist/get-automation`, read only, from SaveTo Wishlist): Shows the full setup of one wishlist automation, including its email content.
- **Create wishlist automation** (`saveto-wishlist/create-automation`, asks first, from SaveTo Wishlist): Creates a new automation, such as an email when a wishlisted product is back in stock.
- **Update wishlist automation** (`saveto-wishlist/update-automation`, asks first, from SaveTo Wishlist): Changes the trigger, action, status or email content of an automation.
- **Turn automation on or off** (`saveto-wishlist/toggle-automation`, asks first, from SaveTo Wishlist): Turns a wishlist automation on or off.

## Variations

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

- Write the email in a [tone] voice that matches my brand.
- Do the same for wishlisted products that go on sale.

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