# How to Add Referral Links to Brevo Campaigns and Automations > Use GrowSurf contact attributes in Brevo campaigns and automations so every contact gets their own referral link. - URL: https://growsurf.com/integration-guides/brevo-referral-email-personalization/ --- [← View All Guides](/integration-guides/) Brevo reads GrowSurf data as uppercase contact attributes, so one campaign gives every contact their own link. Want the full setup walkthrough? Use these docs for exact setup steps, supported fields, and troubleshooting. [GrowSurf Brevo email tutorials](https://docs.growsurf.com/integrations/brevo/tutorials) [GrowSurf Brevo setup guide](https://docs.growsurf.com/integrations/brevo) With GrowSurf syncing into a Brevo list, each contact carries their referral link and progress as attributes. Brevo resolves them with the `contact` object, so the same tag works in a campaign, an automation email, and a conditional block. The attribute names are uppercase. That one detail accounts for most blank referral links in Brevo sends. ## Integration Steps ### Confirm the list is syncing The Brevo API key field in the GrowSurf Program EditorCheck the integration in Program Editor > 4. Options > Integrations. Open a synced contact in Brevo and confirm the `GRSF_` attributes are populated before building the campaign around them. ### Lead with the link Use `{{ contact.GRSF_SHARE_URL }}` as both href and visible text, high in the email. A reader who never scrolls still leaves with their link. ### Segment, then personalize Build a Brevo segment on `{{ contact.GRSF_TOTAL_REFERRAL_COUNT }}` to separate people who have never referred from active referrers, then send each group a message that makes sense for where they are. ### Keep the source of truth in GrowSurf Change the reward or the milestone copy in GrowSurf and the next sync updates every Brevo contact. The campaign itself does not need editing. ## Code Snippets **The referral link** ```

Share your referral link:

{{ contact.GRSF_SHARE_URL }} ``` **Progress and next milestone** ```

You have {{ contact.GRSF_TOTAL_REFERRAL_COUNT }} referrals so far.

{{ contact.GRSF_NEXT_MILESTONE }}

``` **Social share buttons** ``` Share on Facebook Share on LinkedIn ``` ## Tips #### Uppercase or nothing `{{ contact.GRSF_SHARE_URL }}` works; the lowercase spelling renders empty and sends cleanly, which is the worst kind of bug. #### Encode share text, not the link When you build a share button, URL-encode your message copy and leave the attribute tag as-is so Brevo can still substitute it. #### Send a test to a real contact Brevo’s test send against a non-contact address cannot resolve attributes. Recommended Guides [Brevo logo How to Sync GrowSurf Referral Data to Brevo Contacts One API key, one list, 15 referral attributes — plus the IP setting that blocks most first attempts. View Guide →](/integration-guides/brevo-referral-contact-sync/) [Mailjet logo How to Add Referral Links to Mailjet Campaigns Mailjet’s data variables put each contact’s own referral link into a single campaign. View Guide →](/integration-guides/mailjet-referral-email-personalization/) [Klaviyo logo How to Personalize Klaviyo Referral Emails with GrowSurf Sync GrowSurf referral properties into Klaviyo profiles, then use them in email flows that keep each participant's link and reward progress current. View Guide →](/integration-guides/klaviyo-referral-email-flows/) ## FAQ #### What is the syntax for the referral link? `{{ contact.GRSF_SHARE_URL }}`. #### Do these work in automations? Yes. Anywhere Brevo resolves a contact attribute, including automation emails. #### Why is my referral link blank? Either the contact has not synced yet, or the attribute name is not uppercase. ## Turn word of mouth into steady growth from your customers Launch a refer-a-friend or affiliate program that lowers your acquisition costs and builds customer loyalty, with little engineering work. [Launch Your Program](https://app.growsurf.com/signup) 14-day free trial No credit card required Trusted by marketing and product teams that grow through customer, user, and partner referrals. ## Built for lean teams, scaled for category leaders Thanks. You're signed up. Something went wrong. Please try again.