# Make Affiliate Links for Your New Products

> Creates ready-to-share text link, image and QR code creatives for your newest and best-selling products.

- Job: [Affiliates & loyalty](https://storeagent.ai/mcp-recipes/job/affiliates/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~40 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + AffiliateWP
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/affiliate-creatives-new-products/

## The prompt

```text
Find the 5 products I added most recently, plus my 5 best sellers from the last 30 days. Show me which already have an affiliate creative. For the ones that do not, write a text link with a short, friendly line of copy, and an image creative that uses the product's main image. Show me the creatives and wait for my OK, then add them as active creatives. Also add a QR code creative that links to my shop page.
```

## What happens when you paste it

You: Find the 5 products I added most recently, plus my 5 best sellers from the last 30 days…

Assistant: 10 products to cover. Only 2 already have a creative. Your best seller this month is the Linen Throw. Calling: `woocommerce/products-query`, `woocommerce/orders-query`, `affiliatewp/list-creatives`, `affiliatewp/add-creative`.

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

Assistant: Added 8 text links, 8 image creatives and 1 QR code for the shop page. All are active and show in your affiliates' dashboards now.

## 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.
- **Find orders** (`woocommerce/orders-query`, read only, from WooCommerce): Finds orders by status, customer, email or date, with the items in each order.
- **List creatives** (`affiliatewp/list-creatives`, read only, from AffiliateWP): Lists text links, banners and QR codes for affiliates, with the page each links to and its status.
- **Add a creative** (`affiliatewp/add-creative`, asks first, from AffiliateWP): Adds a text link, image banner or QR code. Each affiliate's copy carries their own referral link.

## Variations

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

- Only make creatives for products in the [category] category.
- Make them inactive so I can check them first.

## Related recipes

- [Loyalty Program Health Check](https://storeagent.ai/mcp-recipes/loyalty-health-check.md): Tells you if your points program is working: how many points are redeemed, what it costs you and where points come from. Needs Advanced Loyalty Program.
- [Save Loyalty Points Before They Expire](https://storeagent.ai/mcp-recipes/save-expiring-points.md): Finds customers about to lose their points and gives them a small bonus that keeps their account active. Needs Advanced Loyalty Program.
- [Reward Your Top Loyalty Members](https://storeagent.ai/mcp-recipes/reward-top-loyalty-members.md): Ranks your most loyal customers by points earned and gives them a bonus as a thank you. Needs Advanced Loyalty Program.

---

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/
