Easy Affiliate is a WordPress plugin that allows users to create and manage an affiliate program. The Advanced Form Integration (AFI) plugin can automatically send data to external platforms when affiliates are added or when they earn referrals.
Supported Triggers
User Becomes an Affiliate
Fires when a new user registers as an affiliate.User Earns a Referral
Fires when a transaction is recorded and a user earns a commission.
How It Works
AFI hooks into Easy Affiliate’s event actions (esaf_event_affiliate-added
and esaf_event_transaction-recorded
) and captures affiliate and transaction data. This data is then sent to the connected platform (e.g., CRM, email marketing tool, Google Sheet).
Available Fields
Depending on the trigger, the following fields are available for mapping:
Become Affiliate
user_id
– User IDuser_name
– User Display Nameuser_email
– User Email
Earn Referral
user_id
– User IDuser_name
– User Display Nameuser_email
– User Emailreferral_id
– Referral/Commission IDreferral_amount
– Commission Amounttransaction_id
– Related Transaction IDtransaction_date
– Date of Transaction
Setup Instructions
Go to AFI > Add New Integration.
Select Easy Affiliate as the Trigger Platform.
Choose the trigger:
User becomes an affiliate, or
User earns a referral
Choose your Action Platform (e.g., Zoho CRM, Mailchimp, Airtable).
Map the fields as needed.
Save and test your setup.
Notes
The
user_id
and transaction details are only available if the event is triggered while the user is logged in.referral_id
,amount
,transaction_id
, anddate
are passed via$args
from Easy Affiliate’s transaction event hook.Be sure to verify field mappings in AFI before relying on automation.
Need Help?
If your event isn’t triggering or you’re unsure about field values, contact our support team at [email protected] with a screenshot of your integration setup and the event details.