What We’re Building
By the end of this guide, you’ll have a working automation that:- Pulls affiliate stats from your tracker every week
- Sends a personalized email to each of your top affiliates with their individual numbers
Before You Start
Make sure you have:- A connection set up (or use the Demo connection to follow along without real credentials)
- An email service configured (Gmail SMTP, Resend, or SendGrid)
Step 1 — Create the Automation
- Go to Automations in the left sidebar
- Click New Automation
- Name it something like
Weekly Affiliate Performance Email
Step 2 — Add a Pull Stats Step
Click + to add the first step and select Pull Stats. Configure it:| Field | What to select |
|---|---|
| Connection | Your Affise / CAKE / Binom connection |
| Stat Type | By Affiliate |
| Date Preset | Last 7 Days |
| Timezone | Match your tracker’s timezone |
Select the cells you want to use in the email
This is the key step. In the preview table, click on individual cells to select them as variables. For example, click:- The affiliate name in row 1 → becomes
{affiliate_name_1_stats_1} - The revenue in row 1 → becomes
{revenue_1_stats_1} - The payout in row 1 → becomes
{payout_1_stats_1}
Step 3 — Add a Send Email Step
Click + again and select Send Email.Set up recipients
Enter the email address of the affiliate in row 1. If you’re sending one email to each affiliate, you’ll have one recipient per row — or you can use a single email that lists all affiliates.For sending individual emails to each affiliate, you would create one Send Email step per affiliate (or set up multiple automations). Each step references the variables from the corresponding row number.
Write the subject
Write the email body
Use the email editor to write your message, and insert variables from the Variables Available panel on the left. For example:Choose which email account to send from
In the Send From dropdown, select your configured Gmail / Resend / SendGrid account.Step 4 — Set the Schedule
At the top of the automation builder, set:- Schedule: Weekly
- Day: Monday (or whichever day makes sense for your workflow)
- Time: Choose a time before business hours — stats sent first thing in the morning tend to perform well
Step 5 — Save and Test
- Click Save to activate the automation
- Go back to the Automations list
- Click Run Now next to your automation
What’s Next?
Now that your basic automation works, you can extend it:- Add a Condition Check step to only send if revenue is above a threshold
- Add a Create Invoice step to attach a PDF invoice to the email
- Add a Filter Data step to exclude affiliates below a minimum payout
- Add an AI Analyze step to let AI identify your top performers automatically

