Home / Sources / AffiliateWP

AffiliateWP

Affiliate and referral lifecycle: registered, approved, referral earned or paid.

Source Affiliate Native
Triggers
6
Setup
Auto-detected
Min version
latest

How this source works

FlowSync taps into the native AffiliateWP action hooks. The moment AffiliateWP is detected on your site, all triggers below are available in the workflow builder — no extra configuration, no webhooks to wire up.

Available triggers 6 total

Affiliates

Affiliate registered
affiliate_registered
A new affiliate was created — registration form, admin, or import. Fires for any status, including pending review.
Affiliate approved
affiliate_approved
An affiliate became active. The moment to send their welcome kit, referral link, and assets.
Affiliate status changed
affiliate_status_changed
Catch-all for any status transition (active, pending, inactive, rejected). Includes old + new status.

Referrals

Referral earned
referral_earned
A referral / commission was accepted for the affiliate. Includes amount, currency, and the order reference.
Referral paid
referral_paid
A referral was marked paid. Pairs well with payout-confirmation emails.
Referral status changed
referral_status_changed
Catch-all for any referral status transition (unpaid, paid, pending, rejected).

Sample event payload

Every trigger ships with a structured payload. Here's what referral_earned looks like when it fires:

Referral earned
referral_earned
PAYLOAD
affiliate_id7
user_id2418
affiliate_email"[email protected]"
referral_amount"24.00"
referral_currency"USD"
referral_status"unpaid"
timestamp2026-08-13T21:13:18Z

Popular workflow recipes

Tap any recipe to install it as a starting point — all wires connected.

AffiliateWP Brevo

Add new AffiliateWP contacts to a Brevo list

1 action · common
AffiliateWP Mailchimp

Sync AffiliateWP contacts into Mailchimp

1 action · common
AffiliateWP HubSpot

Mirror AffiliateWP changes to HubSpot

1 action · common

How to use it

1

Make sure AffiliateWP is active

FlowSync auto-detects AffiliateWP on plugin activation. If it’s running, you’ll see it under FlowSync → Sources with a green status dot.

2

Pick a trigger in the workflow builder

Open a workflow, click the trigger node, and select any AffiliateWP event. The payload schema is loaded automatically so the field picker works downstream.

3

Filter, branch, or pass the payload to an action

Use the IF/ELSE node to gate the flow on plan tier, country, role — anything in the payload. Then connect any action and use {{trigger.field}} style merge tags.

4

Replay real events

FlowSync stores the last 1,000 fired events. Click any one in Logs → AffiliateWP and hit Replay to dry-run a workflow against a known-real payload.

Wire up AffiliateWPin minutes.

Install FlowSync free, pick a trigger, and send events anywhere you need them.