How does a group automation flow with the Sales trigger count sales?
With the Sales trigger, a group automation flow adds up an affiliate's confirmed referral orders in your store and subtracts refunds. Lifetime flows track all-time sales in your store's currency, whereas Monthly target flows count only sales confirmed during the active month.
Flows are included on the Premium plan. You set up a flow by pairing a Lifetime or Monthly target type with a Sales, Referrals, or 1st-time customers trigger. The Referrals trigger tracks confirmed referrals (skipping reversed ones), and 1st-time customers tracks confirmed referrals placed by new customers.
What counts toward the total
Under a Lifetime Sales flow, Simple Affiliate sums an affiliate's confirmed referral order amounts in your store and deducts refunds. Every figure uses your store's currency.
- Referrals created before you built the flow still count.
- Past referrals earned inside other affiliate groups count too.
- Only this store's referrals apply; sales from linked stores stay excluded.
- Pending referrals don't count until confirmed at payment or fulfillment, following your Referral confirmation setting.
- With Enable confirmation delay active, the daily check confirms referrals after the delay ends, which can add up to one day before they count.
- Manually confirming a referral inside Referrals makes it count right away.
- Reversed referrals never count.
How refunds and cancellations change totals
On percentage-commission referrals, a partial refund cuts the affiliate's sales total by the refunded items' subtotal. Refunding an amount without selecting items in Shopify won't affect the total, and a partial refund on a fixed-commission referral won't either. When a pending referral with a partial refund gets confirmed, the flow checks the affiliate using the full order amount first, then subtracts the refund. Canceling or fully refunding either kind of referral reverses it and clears its amount from the total.
Lifetime flows never downgrade an affiliate. Even when refunds pull a total below a tier threshold, the affiliate keeps the group the flow assigned.
Take an affiliate on a percentage commission who has $500, $800, and $700 in confirmed referrals plus a $400 pending referral. If the $800 order receives a $200 partial refund, their lifetime total stands at $1,800 ($500 + $600 + $700). Once that $400 referral confirms, the total rises to $2,200.
Which order amount counts
Sales triggers measure the same order amount as percentage commissions: item subtotal minus discounts. Shipping and tips never count.
Tax counts only if your Commission on tax setting inside Settings > Referral includes tax. Affiliates inside fixed-amount groups still have sales measured using this same order amount. See What order amount is the commission calculated on? for more details.
Matching numbers in Analytics
Switch Analytics > Sales to All time, and each affiliate's Sales column matches their lifetime total. By default, that view covers Last 90 days and displays active affiliates only.
When Simple Affiliate checks an affiliate
Simple Affiliate checks an affiliate every time one of their referrals confirms. Refunds never trigger a check.
When turning on a Lifetime flow, tick Promote eligible affiliates now based on current totals so the flow checks existing affiliates. A Monthly target flow offers Promote eligible affiliates now based on this month's totals, checking only referrals confirmed this month.
The flow checks only affiliates in its starting group or tier groups; other groups aren't checked. If one sale passes two thresholds together, the affiliate moves straight to the highest tier reached.
Monthly target sales totals
Under a Monthly target Sales flow, only referrals confirmed during the current month in your store's time zone count, minus refunds. Refund rules match Lifetime flows. Partial refunds reduce percentage-commission referrals only, whereas a full refund reverses the referral so it doesn't count.
Each new month starts back at zero, and affiliates moved up by the flow go back to the group they held before. Read Can group automation move affiliates to a lower group, or work month by month? for more details.