← View All Guides
Mailchimp logo
Integration Guide

How to Segment Your Mailchimp Audience by Referral Activity with GrowSurf

Create smart Mailchimp segments based on referral program participation and activity for targeted campaigns.

Sending the same email to your entire audience is a missed opportunity. By segmenting your Mailchimp audience based on GrowSurf referral activity, you can send highly targeted messages that resonate with each group β€” from first-time referrers who need encouragement to power referrers who deserve VIP treatment.

This guide shows you how to build advanced Mailchimp segments using GrowSurf referral data. You'll create segments for every stage of the referral journey, learn how to maintain segment accuracy with automated data syncing, and build campaigns that speak directly to each segment's needs and motivations.

Integration Steps

Step 1: Ensure Referral Data Is Synced to Mailchimp

Before building segments, verify that GrowSurf referral data is flowing into your Mailchimp merge fields.

  • Check that these merge fields exist and are populated:
    • REFCODE β€” participant's referral code
    • REFLINK β€” unique sharing link
    • REFCOUNT β€” number of successful referrals
    • REFSTATUS β€” current status (Participant, Referred, Converted)
    • REFJOINDT β€” date they joined the referral program
  • Use Zapier or GrowSurf's native integration to keep data current
  • Verify data accuracy by spot-checking 5-10 subscriber records

Step 2: Create Core Referral Segments

Build the foundational segments that every referral program needs.

  • Go to Audience > Segments > Create Segment
  • Segment 1: "Non-Participants" β€” REFCODE is blank. These subscribers haven't joined your referral program yet.
  • Segment 2: "All Participants" β€” REFCODE is not blank. Everyone who has joined the program.
  • Segment 3: "Active Referrers" β€” REFCOUNT is greater than 0. They've made at least one referral.
  • Segment 4: "Inactive Participants" β€” REFCODE is not blank AND REFCOUNT equals 0. They joined but haven't referred anyone.

Step 3: Build Advanced Performance-Based Segments

Create segments that target referrers based on their performance level.

  • "Rising Stars" β€” REFCOUNT is 1-2. Just getting started, need encouragement.
  • "Power Referrers" β€” REFCOUNT is 3-9. Engaged and active, reward with exclusive content.
  • "Champions" β€” REFCOUNT is 10 or more. Your VIPs, give them early access and special perks.
  • "Referred Leads" β€” REFSTATUS equals "Referred". People who were referred by someone else.
  • "Converted Referrals" β€” REFSTATUS equals "Converted". Referred people who became customers.

Step 4: Create Time-Based Segments

Segment by when subscribers joined the referral program to create timely campaigns.

  • "New Participants (Last 7 Days)" β€” REFJOINDT is after [7 days ago]. For onboarding campaigns.
  • "Dormant Participants" β€” REFJOINDT is before [30 days ago] AND REFCOUNT equals 0. Need re-engagement.
  • "Recent Referrers" β€” subscribers who made a referral in the last 14 days. In their hot sharing phase.

Step 5: Design Campaigns for Each Segment

Create email campaigns tailored to each segment's specific needs and motivations.

  • Non-Participants: "Did you know you can earn rewards?" β€” program introduction with strong CTA
  • Inactive Participants: "Your unique link is waiting" β€” reminder with sharing tips and incentives
  • Rising Stars: "Great start! Here's how to earn even more" β€” encouragement with next-tier reward preview
  • Power Referrers: "You're a top referrer!" β€” leaderboard position, exclusive rewards, social recognition
  • Champions: "Thank you, [Name]" β€” personal thank-you from your CEO, early access to new features

Step 6: Automate Segment-Based Campaigns

Set up automations that trigger when subscribers move between segments.

  • Create an automation triggered when REFCOUNT changes from 0 to 1 (first referral)
  • Create an automation for when REFCOUNT reaches 5 (power referrer milestone)
  • Set up a monthly re-engagement automation for the "Dormant Participants" segment
  • Use Mailchimp's pre-built automation templates and customize triggers with merge field conditions

Code Snippets

// Mailchimp Segment Conditions (API format)

// Non-Participants segment
{
  "conditions": [{
    "field": "merge.REFCODE",
    "op": "blank"
  }],
  "match": "all"
}

// Power Referrers segment (3-9 referrals)
{
  "conditions": [
    {
      "field": "merge.REFCOUNT",
      "op": "greater",
      "value": 2
    },
    {
      "field": "merge.REFCOUNT",
      "op": "less",
      "value": 10
    }
  ],
  "match": "all"
}

// Zapier automation to keep segments current
// Trigger: GrowSurf β€” New Referral (fires when referral count changes)
// Action: Mailchimp β€” Update Subscriber
// Field mapping:
//   REFCOUNT: {{referredBy__referralCount}}
//   REFSTATUS: "Active Referrer"
//   LASTREFDDATE: {{zap_meta_human_now}}

Tips

Start with Four Core Segments

Don't over-segment from day one. Start with four segments: Non-Participants, Inactive Participants, Active Referrers, and Top Referrers. This gives you four distinct campaigns to run. Add more granular segments as your program scales and you have data to support segmentation decisions.

Refresh Segment Data Before Every Campaign

Ensure your Zapier sync or GrowSurf integration has recently updated Mailchimp data before sending segment-based campaigns. Stale data leads to wrong messages reaching wrong people β€” an active referrer receiving a "you haven't referred anyone" email is embarrassing.

Use Segment Size to Gauge Program Health

Track your segment sizes over time. Healthy programs show the "Non-Participants" segment shrinking while "Active Referrers" grows. If "Inactive Participants" is your largest segment, focus on re-engagement campaigns and improving your onboarding flow.

FAQ

How many segments should I create for my referral program?

Start with 4-6 core segments and expand as needed. The key segments are: Non-Participants (invite them), Inactive Participants (re-engage), Active Referrers (encourage), and Top Referrers (celebrate). Add more segments only when you have distinct messaging for each one β€” empty segments waste effort.

Can I use Mailchimp tags instead of merge fields for segmentation?

Yes. Tags are an alternative to merge fields for categorization. You can use Zapier to add tags like "Referral-Participant", "Referral-Active", and "Referral-Champion" to subscribers based on GrowSurf events. Tags are simpler for binary states; merge fields are better for numeric data like referral counts.

How often should I update referral data in Mailchimp?

For event-driven data (new referral, conversion), update in real-time via Zapier. For summary data (referral counts, activity dates), a daily batch update is sufficient. The key is that data should be current before you send a segment-based campaign.

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