AffiliateBase Workflows
AffiliateBase workflows are the operating paths that move a merchant from setup to live referrals, commissions, and payouts. They are not a separate automation product in the current app.
Merchant setup workflow
Setup is a locked checklist:
- Connect Stripe.
- Configure settings.
- Create a campaign.
- Install AffiliateBase attribution or choose promo codes only.
- Complete setup after required proof is present or after the merchant confirms the install.
The integration step supports these paths:
| Setup path | How attribution works |
|---|---|
| Stripe Payment Link | AffiliateBase adds client_reference_id to the Stripe link after a referred visit. |
| Stripe Buy Button or Pricing Table | AffiliateBase sets client-reference-id on the Stripe element. |
| Custom Checkout Session | Your page submits referral_id to your server, then your server sets client_reference_id. |
| Developer handoff | Copy one install request with the script, checkout handoff, and test link. |
| Promo codes only | AffiliateBase generates affiliate-specific Stripe promotion codes from the selected coupon. |
Attribution to payout workflow
Attribution and money state move through these records:
- Tracking creates or updates a
Referral. - Qualified activity moves the referral from
visitortoleadorconversion. - Stripe events create a
Sale. - A sale creates a
Commission. - Mature commissions move from
pendingtodue. - Due commissions are grouped into
Payoutrows and optionalPayoutRunbatches. - Payout handling moves payouts through
processingtopaid, or into remediation when export or payout contact details are missing.
Affiliate lifecycle workflow
Affiliates can be invited, created directly, archived, and restored. Archiving preserves historical referrals, sales, commissions, payouts, and reporting records while hiding the affiliate from active lists and portal selection.
Trackable affiliate states are pending and active. Disabled, suspicious, rejected, archived affiliate records, archived links, and archived campaigns do not drive new attribution.
Payout workflow
The launch-ready account payout methods are paypal and wise.
| Method | Workflow |
|---|---|
paypal | Affiliate PayPal emails are required; AffiliateBase generates PayPal export files and tracks reconciliation. |
wise | Affiliate Wise emails are required; AffiliateBase generates Wise export files and tracks reconciliation. |
Operating loop after setup
The first activation loop is first real referral, then first attributed Stripe sale:
- Detect setup-complete accounts with no real referral.
- Separate setup-test activity from real affiliate/customer activity.
- Review account-health drafts before any support message is sent.
- Classify the blocker: tracking placement, Stripe handoff, no first affiliate, link not shared, promo-code-only intent, confusing proof checklist, or cooldown.
- Improve the smallest product or docs surface that removes the recurring blocker.