← View All Guides
Braze logo
Integration Guide

How to Sync GrowSurf Referral Data to Braze User Profiles

Connect Braze once, and every participant’s referral link, referral counts, and milestone progress stays current on their Braze profile.

Want the full setup walkthrough?

Use these docs for exact setup steps, supported fields, and troubleshooting.

GrowSurf writes referral data straight onto Braze user profiles. Participants are matched by email address, so the profile your team already segments on picks up the participant’s referral link, referral counts, referrer details, and milestone progress.

Use this guide when you want referral data available in Braze for segmentation and Liquid personalization without building the sync yourself. It works the same on a referral program and an affiliate program.

Integration Steps

Create a Braze REST API key with the users.track permission

In Braze, open Settings > APIs and Identifiers > API Keys and select Create API Key. Make a dedicated key for GrowSurf, enable the users.track permission, and copy it. On the same tab, note the REST endpoint Braze shows you — something like https://rest.iad-01.braze.com or https://rest.fra-01.braze.eu. You need both pieces in the next step.

Find Braze in your GrowSurf program

Searching for Braze in the GrowSurf Program Editor integrations list
Search the integrations list in Program Editor > 4. Options > Integrations.

Connect Braze before you import participants. Everyone who joins or gets referred after that syncs on their own.

Select your REST endpoint and paste the key

The Braze REST endpoint dropdown and API key field in GrowSurf
Pick the instance that matches the REST endpoint you noted in Braze, then paste the key.

Pick the instance that matches your Braze REST endpoint — US-01 goes with rest.iad-01, for example — paste the key, and select Submit. GrowSurf stores the key securely and does not show it again. Connecting does not call Braze; the first participant sync is what confirms the endpoint, the key, and the permission all line up.

Know which attributes land on the profile

GrowSurf writes 15 custom attributes, each prefixed with grsf_:

GrowSurf dataAttribute keyTypeWhat it holds
Share URLgrsf_share_urlStringThe participant’s unique referral link
Participant IDgrsf_participant_idStringThe participant’s GrowSurf ID
Referral Statusgrsf_referral_statusStringCREDIT_PENDING, CREDIT_AWARDED, or CREDIT_EXPIRED
Participant First Namegrsf_participant_first_nameStringThe participant’s first name
Participant Last Namegrsf_participant_last_nameStringThe participant’s last name
Referrer First Namegrsf_referrer_first_nameStringThe referrer’s first name, when there is one
Referrer Last Namegrsf_referrer_last_nameStringThe referrer’s last name, when there is one
Referrer Emailgrsf_referrer_emailStringThe referrer’s email, when there is one
Total Referral Countgrsf_total_referral_countNumberAll-time referral count
Monthly Referral Countgrsf_monthly_referral_countNumberReferral count for the current month
Previous Monthly Referral Countgrsf_prev_monthly_referral_countNumberReferral count for the previous month
Next Milestonegrsf_next_milestoneStringThe next milestone message, on programs with milestone rewards
Next Monthly Milestonegrsf_next_monthly_milestoneStringThe next monthly milestone message, when there is one
Total Invite Countgrsf_total_invite_countNumberAll-time invite count
Total Impression Countgrsf_total_impression_countNumberAll-time referral-link view count

The first sync writes all 15. After that only changed attributes go across, and a string attribute that becomes empty is cleared in Braze rather than left stale.

Confirm the data landed

In Braze, open Audience > User Search and look up a participant by email. The grsf_ attributes appear once the first sync runs. If the program already has participants, use the existing-participant sync options to push their current referral data across.

Code Snippets

Once the attributes are on the profile, reference them in any Braze message with Liquid:

<p>Your referral link:</p>
<a href="{{custom_attribute.${grsf_share_url}}}">{{custom_attribute.${grsf_share_url}}}</a>
<p>You have {{custom_attribute.${grsf_total_referral_count}}} referrals so far.</p>

Braze wraps custom attribute names in ${}. Keep the grsf_ names exactly as GrowSurf creates them or the tag renders empty.

Tips

Connect Braze before the first import

The sync starts when the integration is connected. Connecting first means you never have to backfill a batch of participants by hand.

One email, one profile

Braze profiles are matched by email. If the same person is a participant in two connected GrowSurf programs, the most recent sync wins for the grsf_ attributes on that profile.

Check the activity log when one person looks wrong

A participant’s GrowSurf activity log records each sync and the reason for any failure. That is faster than re-running an export when only one profile is off.

FAQ

Does GrowSurf send custom events to Braze?

No. The integration writes profile attributes only — no custom events, purchases, or subscription changes.

Which Braze permission does the key need?

users.track. A key without it connects fine but fails on the first sync, so create the key with that permission enabled.

Does this work on an affiliate program?

Yes. The Braze sync runs on both referral programs and affiliate programs.

Trusted by marketing and product teams that grow through customer, user, and partner referrals.