# Clear Your Affiliate Application Queue

> Lists every pending application, flags the ones that look off, and approves or rejects the ones you choose.

- 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: ~30 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-application-review/

## The prompt

```text
List every pending affiliate application, oldest first, with name, email, payment email and sign-up date. Flag anything that looks off, like a throwaway email address, a name and email that do not match, or someone who already has a rejected or inactive affiliate account. Then wait for me to tell you who to approve and who to reject. Approve and reject only the ones I name, and add a short note to each with today's date and the reason I give.
```

## What happens when you paste it

You: List every pending affiliate application, oldest first, with name, email, payment email and sign-up date…

Assistant: 11 pending applications, the oldest from 16 days ago. 2 use throwaway email domains and 1 shares an email with an affiliate you rejected in March. Calling: `affiliatewp/list-affiliates`, `affiliatewp/get-affiliate`, `affiliatewp/set-affiliate-status`, `affiliatewp/update-affiliate`.

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

Assistant: Approved 8 and rejected 3, as you asked. Each one got AffiliateWP's usual email, and each has a note with the date and reason.

## Abilities this recipe calls

- **List affiliates** (`affiliatewp/list-affiliates`, read only, from AffiliateWP): Lists affiliates with status, rate, group, earnings and referral counts. Filters by status, name, email or date.
- **Get an affiliate** (`affiliatewp/get-affiliate`, read only, from AffiliateWP): Finds one affiliate by ID, username or email, with rate, group, notes, lifetime earnings and referral URL.
- **Approve, reject or pause an affiliate** (`affiliatewp/set-affiliate-status`, asks first, from AffiliateWP): Sets an affiliate to active, rejected or inactive. AffiliateWP sends its usual approval or rejection email.
- **Edit an affiliate** (`affiliatewp/update-affiliate`, asks first, from AffiliateWP): Edits an affiliate's name, rate, rate type, payment email, admin notes or group.

## Variations

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

- Only show applications from the last [number] days.
- Put the affiliates I approve into the [group] group.

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