Skip to main content

Works with AI · Verified on v2.37.1

AffiliateWP logo

Manage AffiliateWP with AI

Connect AffiliateWP to Claude, ChatGPT, or any AI assistant with WPVibe. Get your monthly program report, review applications, credit missed sales and check what you owe before payday, by asking in plain English.

20 verified abilities Last verified Oct 14, 2026

What your AI can do with AffiliateWP

One connection gives your assistant structured, permission-checked access to the whole site.

Monthly program report

This month against last: referrals, earnings, conversion rate, your top affiliates and the campaigns that convert, from AffiliateWP's own totals.

Affiliate applications

Every pending application with the website and answers each person gave, a suggestion against your rules, and approvals only on your word.

Missed sales

Check the order, rule out a double credit, work out the commission from the affiliate's rate and add it as unpaid.

Payday check

Every unpaid commission by affiliate, checked against its WooCommerce order, with refunded and too-recent ones flagged before you pay.

Commission rates

Rank affiliates by what they sold and raise the rate for the ones you pick, with group rates checked first and a warning where product rates stop applying.

Writes stay off until you say

AI can read your program as soon as AffiliateWP is active. Changes wait until you switch on MCP write access in AffiliateWP.

Things to ask

Paste any of these into Claude or ChatGPT once AffiliateWP is connected.

“How did my affiliate program do this month compared with last month?”
“Show me the pending affiliate applications with their websites, and suggest which travel creators to approve.”
“Maya says order 2864 came from her link but she got nothing. Check it and show me what she would be owed.”
“Before I pay affiliates, list what I owe each one and flag anything refunded.”

Up and running in three steps

1

Install WPVibe

Add the free WPVibe plugin from WordPress.org to the site running AffiliateWP.

2

Connect your AI

Claude, ChatGPT, Cursor, and more. One click to authorize, and no passwords ever go in the chat.

3

Ask in plain English

“How did my affiliate program do this month compared with last month?”

Verified AffiliateWP recipes

Copy-paste playbooks, each one tested on a live AffiliateWP install before it ships.

Every AffiliateWP ability

AffiliateWP registers these with the WordPress Abilities API under the affiliatewp namespace. Your AI finds them with discover_abilities and calls them with run_ability. WPVibe asks for your approval only when an ability is marked destructive and deletes something or runs code; everything else runs as soon as your AI calls it. Verified means we ran it on a live install of v2.37.1. Registered means a fresh install of v2.37.1 ships it and we have not run it yet.

Requires AffiliateWP 2.37 or newer (tested on 2.37.1) on WordPress 6.9 or newer, with an administrator account. AI can read your program right away; changes need Enable MCP Write Access on under Affiliates > Tools > AI MCP.

Ability What it does Access Status

Get program summary

affiliatewp/get-program-summary
Affiliates by status, referrals by status, paid and unpaid earnings, visits and conversion rate, for a date range or all time. Read Verified

Get program settings

affiliatewp/get-program-settings
The default rate and type, cookie length, currency, whether new affiliates need approval, and which integrations are on. Read Verified

List affiliates

affiliatewp/list-affiliates
Affiliates with status, rate, earnings, referral and visit counts and referral link. Read Verified

Get an affiliate

affiliatewp/get-affiliate
One affiliate by ID, username or email: rate, group, notes, lifetime earnings and referral link. Read Verified

Get affiliate performance

affiliatewp/get-affiliate-performance
One affiliate's referrals, paid and unpaid earnings, visits and conversion rate for a date range. Read Verified

List affiliate coupons

affiliatewp/list-affiliate-coupons
The coupon codes that credit one affiliate, with the discount and the store integration they come from. Read Verified

List top affiliates

affiliatewp/list-top-affiliates
Affiliates ranked by earnings in a date range, with their referrals and visits for the same period. Read Verified

List affiliate groups

affiliatewp/list-affiliate-groups
Affiliate groups, any group rate and how many affiliates are in each. Read Verified

Add an affiliate

affiliatewp/add-affiliate
Registers an existing user as an affiliate, or creates the user from an email address, with an optional rate and notes. Write Verified

Set affiliate status

affiliatewp/set-affiliate-status
Approves, rejects or pauses an affiliate. Write Verified

Update an affiliate

affiliatewp/update-affiliate
Changes an affiliate's name, personal rate, payment email, notes or group. Write Verified

List referrals

affiliatewp/list-referrals
Commissions with amount, status, type and affiliate. Read Verified

Add a referral

affiliatewp/add-referral
Credits an affiliate by hand for a sale or lead that wasn't tracked. Write Verified

Update a referral

affiliatewp/update-referral
Changes a referral's amount, description, reference or campaign. Write Verified

Set referral status

affiliatewp/set-referral-status
Moves a referral between pending, unpaid, paid and rejected. Write Verified

List payouts

affiliatewp/list-payouts
Payouts with amount, method, status and the referrals each one covered. Read Verified

List visits

affiliatewp/list-visits
Visits from affiliate links with landing page, referrer, campaign and whether they converted. Read Verified

List creatives

affiliatewp/list-creatives
The banners, text links and QR codes affiliates can use, with the page each links to. Read Verified

Add a creative

affiliatewp/add-creative
Adds a text link, image banner or QR code; each affiliate's copy carries their own referral link. Write Verified

List campaigns

affiliatewp/list-campaigns
Lifetime visits, referrals, conversion rate and earnings per campaign and affiliate. Read Verified

What we learned testing it

Behavior the ability descriptions do not mention.

  • AI changes are off until a site admin switches on Enable MCP Write Access under Affiliates > Tools > AI MCP. Until then every change is refused with "Sorry, you are not allowed to execute this ability." Reads work as soon as AffiliateWP is active.
  • Approving or rejecting an affiliate sends AffiliateWP's accepted or rejected email, and adding an unpaid referral emails the affiliate and the admin, whenever those emails are on in AffiliateWP's settings.
  • A referral added by hand is not linked to its WooCommerce order. When a tracked order is fully refunded, AffiliateWP rejects its unpaid commission on its own (if Reject Unpaid Referrals on Refund is on, the default); a hand-added one stays unpaid until you reject it (tested). Partial refunds change no commission.
  • An affiliate group with its own rate replaces the affiliate's personal rate. Moving a 30% affiliate into a 25% group dropped them to 25% in testing.
  • An affiliate's referral count and earnings in AffiliateWP are paid referrals only; what is owed is in unpaid earnings.
  • A referral's amount can't change once it is part of a payout. Pay affiliates through Affiliates > Payouts rather than marking referrals paid one by one, so the payout is recorded.
  • Campaign figures are lifetime totals. For a date range, the AI filters visits or referrals by campaign instead.
  • The website and answers from an affiliate's application are not in the affiliate abilities; the application recipe reads them from the user record and AffiliateWP's affiliate meta.

Verified, and kept that way

Works with AI is WPVibe’s verification program. Every ability marked verified was run on a live AffiliateWP install, and we rescan WordPress.org weekly so a release that adds or removes abilities shows up here before it surprises you.

Learn more about AffiliateWP at affiliatewp.com.