AffiliateWP Automations
How to Get an Email When a New Affiliate Is Waiting for Approval in AffiliateWP
When your affiliate program needs approval, a new application can sit unseen in the queue for days. To get an email when a new affiliate is waiting for approval in AffiliateWP, use Zapify's A user registers as an affiliate trigger set to Pending approval, with the Send an email action. AffiliateWP is a Zapify PRO integration.
What this automation does
The automation is one trigger plus one action:
- Trigger: A user registers as an affiliate (
AFFWP_AFFILIATE_REGISTERED, AffiliateWP) - Action: Send an email (
WP_SEND_EMAIL, WordPress)
When somebody applies and their status is Pending, Zapify emails you the applicant's details and a note to review them. Applicants who are approved automatically do not start this automation.
PRO feature
AffiliateWP is a Zapify PRO integration, so this automation needs an active Zapify PRO licence.
No Connection needed for AffiliateWP
AffiliateWP runs on your own site, so there is no API key to paste for it and nothing to set up under Settings → Connections.
Before you start
- AffiliateWP installed and active.
- A working mail setup so WordPress can send email.
How to build the automation
Step 1: Create a new automation
- In the WordPress admin, go to Zapify → Automations.
- Click Add New to open the builder.
- Name it clearly, such as Alert me to new affiliate applications.

Step 2: Add the "A user registers as an affiliate" trigger
- Click Add Trigger.

- Choose AffiliateWP as the app.

- Select A user registers as an affiliate.

- Configure the trigger:
| Field | Required | What it does |
|---|---|---|
| Status | Yes | Any status to catch every sign-up, Pending approval for applications that need a decision, or Active (approved straight away) for people your program accepts automatically. |
Set Status to Pending approval. Applications that are approved automatically are ignored.
Step 3: Add the "Send an email" action
- Click Add Action.

- Choose WordPress as the app.

- Select Send an email.

Step 4: Configure the action
| Field | Required | What it does |
|---|---|---|
| To | Yes | Recipient address. Comma-separate several, or insert a token. |
| Subject | Yes | The subject line. |
| Format | Yes | HTML (default) or Plain text. |
| Body | Yes | The message. Insert tokens with the {} button. |
| Cc / Bcc | No | Extra recipients. |
| From name / From email | No | Override the sender. |
| Reply to | No | Set where replies go. |
For example:
- To: your own address, such as
affiliates@yourstore.com - Subject:
New affiliate application: {Display name} - Body:
{Display name} ({User email}) has applied to join the affiliate program. Their payment email is {Affiliate payment email}. Review the application under AffiliateWP → Affiliates.

Step 5: Set the steps Live and save
Each trigger and action has its own Live / Off / Draft switch. A new automation starts as a Draft and does nothing until its steps are Live.
- Set the trigger and every action to Live.
- Click Save.

Step 6: Test it
Apply as a test affiliate while your program requires approval. You should receive the email within a minute. Open Zapify → Logs to confirm the run and read what the action reported.
Tokens you can use
The trigger offers the affiliate's details, plus the user tokens.
| Token | What it holds |
|---|---|
| Affiliate ID | The affiliate's numeric ID in AffiliateWP. |
| Affiliate status | Their status: active, inactive, pending or rejected. |
| Affiliate referral URL | Their personal referral link, ready to put in an email. |
| Affiliate payment email | The address they get paid at. |
| Affiliate rate / Affiliate rate type | Their commission rate and whether it is a percentage or a flat amount. |
| Affiliate earnings / Affiliate unpaid earnings | What they have earned in total, and what is still waiting to be paid. |
| User ID / Username / User email | The user the automation runs for: the affiliate, or the referred customer when Run for is set to the customer. |
| Display name / First name / Last name | Their name details. |
Conclusion
With the A user registers as an affiliate trigger on Pending approval and the Send an email action, you hear about every application when it arrives. For a team that lives in chat, post it to Slack instead, or create a ClickUp task to review it.
FAQs
Is this free in Zapify?
The Send an email action is free, but the AffiliateWP trigger is part of the AffiliateWP PRO integration and needs an active Zapify PRO licence.
Why did I not get an email for an affiliate who was approved automatically?
Because their status was Active, not Pending. Set Status to Any status if you want every sign-up.
Can I send it to my whole team?
Yes. Comma-separate several addresses in the To field, or use Cc.
Do approvals need AffiliateWP's own setting turned on?
Yes. Applications are only pending when AffiliateWP is set to require approval for new affiliates.
Do I need to write any code?
No. Everything is configured visually in the Zapify builder.