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

StoreAgent
Affiliates & loyalty recipe

Get Affiliate Payouts Ready

Lines up every unpaid commission, catches referrals from refunded orders and checks payment emails before payday.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~1 hr 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 all unpaid referrals, grouped by affiliate, with the total owed to each. For every referral with an order reference, look up the WooCommerce order and flag any that are refunded, cancelled or failed. Also flag affiliates with no payment email. Show me the list and wait for my OK. Then reject the referrals from refunded or cancelled orders and give me a final table of who is owed what. I will pay them from the Payouts screen.
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 all unpaid referrals, grouped by affiliate, with the total owed to each…
$6,240 unpaid across 38 affiliates. 7 referrals come from refunded orders, $312 in total. 2 affiliates have no payment email. Calling:
affiliatewp/list-referralsdone
woocommerce/orders-querydone
affiliatewp/list-affiliatesdone
affiliatewp/set-referral-statusdone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
Rejected the 7 refunded referrals. $5,928 is owed across 38 affiliates. The table is below, with the 2 missing payment emails marked.
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.

read only
Lists commissions with amount, status, affiliate, customer and campaign. Filters by affiliate, status or date.
affiliatewp/list-referrals
read only
Finds orders by status, customer, email or date, with the items in each order.
woocommerce/orders-query
read only
Lists affiliates with status, rate, group, earnings and referral counts. Filters by status, name, email or date.
affiliatewp/list-affiliates
Marks a referral paid, unpaid, pending or rejected. Marking paid sends no money.
affiliatewp/set-referral-status
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.

+ Only include affiliates who are owed more than [amount].
+ Also show what each affiliate was paid in their last payout.
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