← View All Guides
Mailchimp logo
Integration Guide

How to Build Referral Automation Flows in Mailchimp with GrowSurf

Create automated Mailchimp email flows triggered by referral program milestones and activity.

Automation is the key to scaling your referral program without scaling your workload. Mailchimp's automation features, combined with GrowSurf's referral event data, let you create hands-off email flows that guide participants through their referral journey β€” from their first day in the program to becoming a champion referrer.

This guide covers building three essential automation flows in Mailchimp for your GrowSurf referral program: an onboarding sequence for new participants, a milestone celebration flow for referrers hitting targets, and a win-back flow for dormant participants. You'll learn how to trigger automations based on referral data changes and optimize each flow for maximum engagement.

Integration Steps

Step 1: Set Up Automation Triggers from GrowSurf Data

Configure the data pipeline that will trigger Mailchimp automations when referral events occur.

  • Use Zapier to update Mailchimp subscriber merge fields when GrowSurf events fire
  • Key triggers to configure:
    • REFCODE field populated β†’ participant joined program (onboarding trigger)
    • REFCOUNT changes to 1 β†’ first referral made (celebration trigger)
    • REFCOUNT reaches 5, 10, 25 β†’ milestone triggers
  • Use Mailchimp tags as an alternative trigger mechanism for simpler automations

Step 2: Build the Participant Onboarding Automation

Create a 4-email sequence that educates new participants on how to get the most from your referral program.

  • Go to Automations > Create > Custom Automation
  • Trigger: Tag "referral-participant" is added (set via Zapier)
  • Email 1 (Day 0): "Welcome! Here's your referral link" β€” include link, reward explanation, and quick-start guide
  • Email 2 (Day 2): "3 easy ways to share" β€” email templates, social sharing tips, and conversation starters
  • Email 3 (Day 5): "See how others are earning" β€” success stories and leaderboard highlights
  • Email 4 (Day 10): "Don't forget your rewards" β€” urgency-driven reminder with reward summary

Step 3: Create the Milestone Celebration Flow

Celebrate referral milestones to keep referrers motivated and reinforce positive behavior.

  • Create separate automations for each milestone (or use Mailchimp's branching logic)
  • First Referral: Congratulatory email with next-tier reward preview
  • 5 Referrals: "Super Referrer" status email with badge graphic and upgraded rewards
  • 10 Referrals: Personal thank-you + exclusive benefits (early access, special pricing)
  • Include a dynamic referral count in each email using *|REFCOUNT|*

Step 4: Build the Win-Back Flow for Dormant Referrers

Re-engage participants who haven't made a referral in 30+ days.

  • Trigger: Tag "referral-dormant" is added (added via scheduled Zapier workflow)
  • Email 1 (Day 0): "We miss your referrals!" β€” remind them of unclaimed rewards
  • Email 2 (Day 3): "New rewards just dropped" β€” announce new incentives or limited-time bonuses
  • Email 3 (Day 7): "One simple share could earn you..." β€” lowered-barrier CTA with pre-written share messages
  • Remove the "referral-dormant" tag if they make a referral (exit automation)

Step 5: Add Dynamic Content for Personalization

Use Mailchimp's conditional content blocks to personalize automation emails based on referral data.

  • Show different content based on referral count:
    • *|IF:REFCOUNT > 0|* β€” show referral stats and progress
    • *|ELSE:|* β€” show getting-started tips
  • Customize reward messaging based on their current tier
  • Insert their personal referral link in every email: *|REFLINK|*

Step 6: Monitor and Optimize Automation Performance

Track how each automation email performs and iterate based on data.

  • Review open rates, click rates, and unsubscribe rates for each email in the flow
  • Track which emails correlate with actual referral activity increases
  • A/B test individual emails within the automation (subject lines, CTAs, send times)
  • Adjust email timing based on when you see the highest engagement

Code Snippets

// Zapier configuration for Mailchimp automation triggers

// Trigger onboarding automation
// Zap 1: GrowSurf New Participant β†’ Mailchimp Add Tag
{
  "trigger": "GrowSurf - New Participant",
  "action": "Mailchimp - Add/Remove Tags",
  "config": {
    "email": "{{email}}",
    "tags_to_add": ["referral-participant"],
    "merge_fields": {
      "REFCODE": "{{referralCode}}",
      "REFLINK": "{{shareUrl}}",
      "REFCOUNT": "0"
    }
  }
}

// Trigger milestone celebration
// Zap 2: GrowSurf Participant Reached Reward β†’ Mailchimp Update + Tag
{
  "trigger": "GrowSurf - Participant Reached Reward",
  "action": "Mailchimp - Add/Remove Tags",
  "config": {
    "email": "{{referrer.email}}",
    "tags_to_add": ["referral-milestone-{{referrer.referralCount}}"]
  }
}

// Mailchimp conditional content for automation emails:
// *|IF:REFCOUNT = 1|*
//   Congrats on your first referral! You're just getting started.
// *|ELSEIF:REFCOUNT = 5|*
//   You're a Super Referrer! 5 friends and counting.
// *|ELSEIF:REFCOUNT >= 10|*
//   Champion status unlocked! You're in our top referrers.
// *|END:IF|*

Tips

Keep Automation Emails Short and Action-Oriented

Automation emails should be scannable in 10 seconds. Lead with the most important information (their referral link and reward status), use bullet points instead of paragraphs, and have one clear CTA per email. Long emails in automation flows get lower engagement.

Set Proper Exit Conditions

Configure exit conditions so participants don't receive irrelevant emails. If someone makes a referral during the win-back flow, remove them immediately. If someone unsubscribes from marketing, ensure they're removed from all referral automations too.

Stagger Send Times to Avoid Spam Filters

Don't send all automation emails at the exact time of the trigger. Add small random delays (1-4 hours) so your emails don't all go out at midnight when webhooks fire. Mailchimp's scheduling options let you limit sends to business hours.

FAQ

Can I run multiple automations simultaneously for the same subscriber?

Yes, but be careful about email frequency. A subscriber could be in your onboarding flow AND receive a milestone email simultaneously. Use Mailchimp's frequency cap settings (if available) or add wait conditions that check if another automation email was sent recently.

How do I test automation flows without waiting for the actual delays?

During testing, temporarily shorten all delays to 1 minute. Trigger the automation by adding yourself as a subscriber with the appropriate tags. After verifying each email sends correctly with proper personalization, restore the production delays.

What's the ideal number of emails in a referral automation flow?

3-5 emails per flow is optimal. The onboarding flow should be 4-5 emails over 2 weeks. Milestone celebrations should be single emails. Win-back flows should be 3 emails over 1 week β€” if they don't re-engage after 3 attempts, move them to a quarterly re-engagement list instead.

Set up your refer a friend program with customer referral and affiliate program software that lowers your acquisition costs, increases customer loyalty, and saves you gobs of time.

Trusted by marketing and product teams at fast-growing B2C, fintech, and SaaS companies