AffiliateWP

Estimated reading: 2 minutes

Overview

AFI registers affiliates and creates referrals in AffiliateWP from WordPress form submissions. Use it to grow your affiliate program: signup forms can auto-create affiliate records, and external referral data can flow into AffiliateWP for tracking.

Supported actions

  • Create Affiliate — register a new affiliate (user, rate, payment email).
  • Create Referral — log a referral against an affiliate account.
  • Add Custom Field — populate AffiliateWP’s custom-field add-on data.

Authentication

  1. No API key — AFI writes directly into AffiliateWP’s tables on the same WordPress install.
  2. Confirm AffiliateWP is installed and activated.

How to create the integration

  1. In WordPress admin, go to AFI > New Integration.
  2. Pick your Sender (Contact Form 7, WPForms, WooCommerce, etc.) and the form / event to listen on.
  3. Pick AffiliateWP as the Receiver, then pick the Task you want to run.
  4. Map sender fields onto AffiliateWP’s fields. User ID (or email of an existing WP user) + payment email are required for new affiliates.
  5. Optional: add Conditional Logic so the action only fires on matching submissions.
  6. Save and run a test submission. Check AFI > Log if anything looks off.

Notes & caveats

  • WordPress user prereq. Affiliates are tied to WP users — if the user doesn’t exist, create them first (e.g. via the User Registration sender) or pass the email and AFI will look up the user.
  • Approval status: defaults to Active — change to Pending if you want manual approval before payouts.
  • Referrals require a valid affiliate ID; passing the wrong one creates an orphaned referral.

Related