# How to Add Referral Links to Drip Broadcasts and Workflows > Use GrowSurf referral fields with Liquid in Drip broadcasts and workflows to personalize and branch a single send. - URL: https://growsurf.com/integration-guides/drip-referral-email-personalization/ --- [← View All Guides](/integration-guides/) Drip’s Liquid reads GrowSurf fields, so one email can print a referral link and branch on referral count. Want the full setup walkthrough? Use these docs for exact setup steps, supported fields, and troubleshooting. [GrowSurf Drip email tutorials](https://docs.growsurf.com/integrations/drip/tutorials) [GrowSurf Drip setup guide](https://docs.growsurf.com/integrations/drip) Once GrowSurf syncs into Drip, every person carries their referral link and progress as custom fields. Drip resolves them with Liquid, which is what lets a single broadcast say something different to a first-time reader and a repeat referrer. The same syntax works in workflow emails, which is where most referral programs get their steady share volume. ## Integration Steps ### Check a person has the fields The Drip integration card in GrowSurfDrip lives in Program Editor > 4. Options > Integrations. Open a synced person in Drip and confirm the GrowSurf custom fields carry values before you write against them. ### Print the link where it is visible Use `{{ subscriber.grsf_share_url }}` as both the href and the visible text, high in the email. ### Branch on referral count A Liquid `if` on `{{ subscriber.grsf_total_referral_count }}` separates people who have never shared from people already earning. The first group is larger and responds better to an invitation than to a progress report. ### Move it into a workflow A workflow email that fires a couple of weeks after signup keeps producing referrals long after a broadcast has stopped. Reward amounts and milestone copy stay in GrowSurf, so the offer can change without touching the workflow. ## Code Snippets **The referral link** ```

Share your referral link:

{{ subscriber.grsf_share_url }} ``` **One email, two messages** ``` {% if subscriber.grsf_total_referral_count > 0 %}

You have {{ subscriber.grsf_total_referral_count }} referrals. {{ subscriber.grsf_next_milestone }}

{% else %}

Share your link and earn your first reward.

{% endif %} ``` **A share button** ``` Share on X ``` ## Tips #### Liquid renders empty, not broken A typo in a field name produces a blank space and a clean send. Test as a real, synced person. #### Condition on the count `{{ subscriber.grsf_next_milestone }}` is empty on programs without milestone rewards, so it is a poor condition. The referral count is always populated. #### URL-encode the message, not the tag On share buttons, encode your own copy and leave the Liquid tag plain so Drip can substitute it. Recommended Guides [Drip logo How to Sync GrowSurf Referral Data to Drip People Authorize Drip, choose an account and a tag, and referral data lands on every person as a custom field. View Guide →](/integration-guides/drip-referral-people-sync/) [Kit logo How to Add Referral Links to Kit Broadcasts and Sequences Kit runs on Liquid, so GrowSurf referral fields drive both the copy and the conditions in one email. View Guide →](/integration-guides/convertkit-referral-email-personalization/) [Customer.io logo How to Send Referral Emails with Customer.io + GrowSurf Use GrowSurf-synced Customer.io attributes to send personalized referral emails with the right share link, counts, and milestone copy. View Guide →](/integration-guides/customerio-referral-triggered-emails/) ## FAQ #### What Liquid object holds the referral fields? `subscriber`, for example `{{ subscriber.grsf_share_url }}`. #### Can workflows branch on referral count? Yes. The counts are ordinary custom fields, so workflow conditions and Liquid both read them. #### Which field should always be in the email? The share URL. ## 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.