New: connect Claude, ChatGPT or Cursor to your WooCommerce store. See how →

StoreAgent
Affiliates & loyalty recipe

Give Your Best Affiliates a Raise

Ranks affiliates by what they earned over 90 days and moves the top performers to a higher rate or group.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~30 min vs doing it by hand
REQUIRES BOTH
StoreAgentFree plugin · MCP on every plan
+
AffiliateWP AffiliateWP 2.37.0+ · changes need Enable MCP Write Access on
Connect your store
THE PROMPT
Show me my default commission rate and my affiliate groups. Rank my top 20 affiliates by earnings over the last 90 days, with their referrals, visits, current rate and how many of their referrals were rejected. Suggest who deserves a higher rate and what it should be, and tell me what it would cost me per month at their current pace. Wait for my OK, then update their rates and add a note with the date and reason.
PASTE INTO ClaudeChatGPTCursor+ any MCP client
WHAT HAPPENS NEXT

What Happens When You Paste It

Your assistant picks the right abilities, pulls live data from your store and does the work. Here’s roughly how the conversation goes.

1
It reads first. Read abilities run straight away, so it’s working from your real catalog, not guessing.
2
It checks with you. Anything that writes to your store stops and asks before it goes ahead.
3
It’s all logged. Every ability call shows up in wp-admin, so you can see exactly what changed.
Claude · connected to your store
yourstore.com · via StoreAgent MCP
Live
Show me my default commission rate and my affiliate groups…
Your default rate is 20%. Your top 5 earned $7,720 in 90 days and converted above 5%. None have a personal rate, and you have no groups yet. Calling:
affiliatewp/get-program-settingsdone
affiliatewp/list-affiliate-groupsdone
affiliatewp/list-top-affiliatesdone
affiliatewp/list-referralsdone
affiliatewp/update-affiliatedone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
Moved 5 affiliates to 25%. At their current pace that costs about $640 more per month. Each one has a note with the reason.
UNDER THE HOOD

Abilities This Recipe Calls

Make sure these are switched on in your StoreAgent MCP settings. You can turn any of them off at any time.

Reads the default rate and type, cookie length, currency, approval setting and enabled integrations. No secrets or API keys.
affiliatewp/get-program-settings
Lists affiliate groups, any group rate, and how many affiliates are in each.
affiliatewp/list-affiliate-groups
Ranks affiliates by earnings for a date range, with their referrals and visits.
affiliatewp/list-top-affiliates
read only
Lists commissions with amount, status, affiliate, customer and campaign. Filters by affiliate, status or date.
affiliatewp/list-referrals
asks first
Edits an affiliate's name, rate, rate type, payment email, admin notes or group.
affiliatewp/update-affiliate
MAKE IT YOURS

Tweak It for Your Store

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

+ Move them into the [group] group instead of changing their rates one by one.
+ Rank by number of referrals instead of earnings.
StoreAgent

PO BOX 4362
Gumdale QLD 4154
Australia

Our Brands

© 2026 Rymera Web Co Pty Ltd. All Rights Reserved. ABN 51 604 474 213. Privacy Policy · Terms of Service · Data Processing Addendum · Affiliate Disclosure