Affiliate Program trigger
Affiliate commission earned
An affiliate earned a commission on a referral
Starts a workflow when this happens.
Business plan and up Only in your agency workspace.
Variables this trigger adds
Use these in any later step, alongside the usual lead, agency and date variables.
{affiliate.promoter_name} Affiliate Name. Full name of the affiliate {affiliate.promoter_first_name} Affiliate First Name. First name of the affiliate {affiliate.promoter_last_name} Affiliate Last Name. Last name of the affiliate {affiliate.promoter_email} Affiliate Email. Affiliate's email address {affiliate.promoter_id} Affiliate ID. The affiliate's id in FirstPromoter {affiliate.ref_id} Referral ID. The affiliate's referral code, e.g. coach-11dc08 {affiliate.referral_link} Referral Link. The affiliate's personal referral link {affiliate.campaign_name} Affiliate Campaign. Affiliate campaign the referral belongs to {affiliate.commission_rate} Commission Rate. What the affiliate earns, e.g. 40% {affiliate.commission_plan} Commission Plan. Name of the commission plan, e.g. 40% recurring commission {affiliate.promoter_dashboard_url} Affiliate Dashboard. Where the affiliate logs in to see their earnings {affiliate.affiliate_signup_url} Affiliate Signup Page. Page where new affiliates join the program {affiliate.campaign_landing_url} Campaign Landing Page. Where referral links send people {affiliate.promoter_joined_at} Affiliate Since. When the affiliate joined {affiliate.promoter_status} Affiliate Status. Active, pending or blocked {affiliate.promoter_clicks} Link Clicks. Clicks on the affiliate link so far {affiliate.promoter_referrals} Total Referrals. People the affiliate has referred so far {affiliate.promoter_customers} Total Customers. Referrals who became paying customers {affiliate.promoter_active_customers} Active Customers. Referred customers still paying {affiliate.promoter_sales} Total Sales. Payments from referred customers so far {affiliate.promoter_revenue} Revenue Brought In. Money referred customers have paid so far {affiliate.promoter_earnings_total} Total Earned. Commission the affiliate has earned so far {affiliate.promoter_balance_pending} Waiting To Be Paid. Commission earned but not paid out yet {affiliate.promoter_balance_paid} Paid Out So Far. Commission already paid to the affiliate {affiliate.referred_email} Referred Email. Email of the person who signed up. Blank on tier 2 sales unless you run the program. {affiliate.referred_name} Referred Name. Name of the person who signed up, when known. Blank on tier 2 sales unless you run the program. {affiliate.referred_uid} Referred Account ID. Account id of the person who signed up. Blank on tier 2 sales unless you run the program. {affiliate.plan_name} Plan. Plan the referred account is on {affiliate.referred_state} Referral Status. Where the referral is, e.g. signup, active, cancelled {affiliate.referral_signup_at} Signed Up At. When the referral signed up {affiliate.customer_since} Customer Since. When the referral first paid {affiliate.referral_source} Signup Source. How the referral was recorded, e.g. link or api {affiliate.suspicion} Fraud Check. Self-referral check result (no_suspicion when clean) {affiliate.commission_amount} Commission Amount. What the affiliate earned {affiliate.sale_amount} Sale Amount. The payment the commission is for {affiliate.commission_status} Commission Status. Approved, pending or denied {affiliate.commission_paid} Commission Paid. yes once it has been paid out {affiliate.commission_reward} Reward Name. Name of the reward that applied {affiliate.commission_tier} Tier. Commission tier level {affiliate.currency} Currency. Currency of the amounts (e.g. USD) {affiliate.recruit_link} Recruit Link. Link this affiliate shares to recruit sub-affiliates {affiliate.is_sub_affiliate} Is A Sub-Affiliate. yes when another affiliate recruited this one {affiliate.recruited_by_name} Recruited By. Name of the affiliate who recruited this one {affiliate.recruited_by_email} Recruiter Email. Email of the affiliate who recruited this one. Only the program owner sees it. {affiliate.recruited_by_ref} Recruiter Referral ID. Referral code of the affiliate who recruited this one {affiliate.sub_affiliates_count} Sub-Affiliates. How many affiliates this one has recruited {affiliate.sub_affiliate_earnings} Earned From Sub-Affiliates. Commission earned on sales made by recruited affiliates {affiliate.tier} Tier. 1 for the affiliate's own sale, 2 for a sale by someone they recruited {affiliate.sub_affiliate_name} Sub-Affiliate Name. On tier 2: the recruited affiliate who made the sale {affiliate.sub_affiliate_email} Sub-Affiliate Email. On tier 2: email of the recruited affiliate who made the sale. Only the program owner sees it. How to add it
- Open Workflows in the app and create or open a workflow.
- Click the trigger at the top and pick Affiliate commission earned under Affiliate Program.
- Fill in its settings, then save and turn the workflow on.
For the API and MCP
When you build workflows through the Inflowave API or the MCP server, this trigger is affiliate_commission_earned. See the MCP documentation.