Tutorials
Add personalized referral messages to your Intercom emails.
After you connect your GrowSurf program to Intercom, copy an example below and customize it.
Example 1
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 4, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/illustrations/GrowSurf-steps-2.pngwith your own image.At line 11 replace
PrismJarwith your own brand name.At line 12, replace
#1673dfwith your own brand color.At line 15, replace the text
{{ custom_data.growsurf_share_url }}%0AJoin%20PrismJar%20and%20we%20both%20get%20$10%20with your own.Encode the message using a tool like https://www.url-encode-decode.com
Keep the merge tag unencoded at the start of the message.
At line 17, replace the text
Join%20PrismJar%20and%20we%20both%20get%20$10%20with your ownEncode the message using a tool like https://www.url-encode-decode.com
Example 2
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 4, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/email-examples/Gift0002.pngwith your own image.At line 15, replace
#e87b3cwith your own brand color.At line 15, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
Example 3
Display a three-step explainer with referral buttons.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 5, replace all instances of
Cointechwith your own brand name.At lines 6, 21, 30, 39, and 47, replace
#4f46e5with your own brand color.At lines 6 and 47, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
Example 4
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 5, replace
LearnEdwith your own brand name.At line 10, replace
https://d1pnnwteuly8z3.cloudfront.net/images/b90d3589-b2f5-4e75-bf91-c0fba9e89952/507b3cec-5435-499f-96d7-46c5a4d6d79f.svgwith your own image.At line 19, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At line 19, replace
#ee1152with your own brand color.
Example 5
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 5, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/email-examples/people.pngwith your own image.At line 19, replace
#094a83with your own brand color.At line 19, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
Example 6
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 5, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/email-examples/welcome.pngwith your own image.At lines 7 and 12, replace
Sipswith your own brand name.At line 27, replace the text
Hey!%20Do%20you%20love%20wine?%20So%20do%20I.with your own.Encode the message using a tool like https://www.url-encode-decode.com
At line 33, replace the text
{{ custom_data.growsurf_share_url }}%0AHey!%20Do%20you%20love%20wine?%20So%20do%20I.with your ownEncode the message using a tool like https://www.url-encode-decode.com
Keep the merge tag unencoded at the start of the message.
Example 7
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 4, replace all instances of
PrismJarwith your own brand name.At line 8, replace
#1673dfwith your own brand color.At line 8, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At line 12, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/email-examples/boy-and-girl-giving-high-five-to-each-other.pngwith your own image.
Example 8
Display static images in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At lines 5 and 24, replace all instances of
Cointechwith your own brand name.At lines 6 and 42, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At lines 6 and 42, replace
#4f46e5with your own brand color.At line 22, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/illustrations/GrowSurf-steps-1.pngwith your own image.At line 27, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/illustrations/GrowSurf-profiles-4.pngwith your own image.At line 32, replace
https://growsurf-blog.s3.us-west-2.amazonaws.com/illustrations/GrowSurf-steps-2.pngwith your own image.
Example 9
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 20, replace all instances of
Evening Stewwith your own brand name.At lines 25, 30, and 35, replace
#8E4CEDwith your own brand color.At line 25 and 35, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At line 15, replace
https://growsurf-blog.s3-us-west-2.amazonaws.com/eveningstew/rewards-inline.pngwith your own image.At line 35, because
{{ custom_data.growsurf_next_milestone }}is used, set a Next Milestone value on each milestone reward in your GrowSurf program (see image).
Example 10
Display different reward images based on how many referrals the participant has made.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At lines 9, 41, and 46, replace
#8E4CEDwith your own brand color.At line 46, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At line 35, replace
https://growsurf-blog.s3-us-west-2.amazonaws.com/eveningstew/0-won.pngwith your own image based on{{ custom_data.growsurf_total_referral_count }}. In this example, you would display any one of these five images at a given time:If
{{ custom_data.growsurf_total_referral_count }}<3, then display this image.If
{{ custom_data.growsurf_total_referral_count }}>=3 and <5, then display this image.If
{{ custom_data.growsurf_total_referral_count }}>=5 and <10, then display this image.If
{{ custom_data.growsurf_total_referral_count }}>=10 and <20, then display this image.If
{{ custom_data.growsurf_total_referral_count }}>=20, then display this image.
At line 51, because
{{ custom_data.growsurf_next_milestone }}is used, set a Next Milestone value on each milestone reward in your GrowSurf program (see image).
Example 11
Display a GIF image with rotating rewards in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At lines 10 and 21, replace
Evening Stewwith your own brand name.At line 21, replace all instances of
#8E4CEDwith your own brand color.At line 21, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At line 15, replace
https://growsurf-blog.s3-us-west-2.amazonaws.com/eveningstew/rotating-rewards.gifwith your own GIF image (you can use a tool like https://ezgif.com/maker).
Example 12
Display a static image in your email.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At lines 10 and 15, replace
Hustowith your own brand name.At lines 20 and 30, replace
#F46A54with your own brand color.At line 30, replace
YOUR_CAMPAIGN_IDwith your GrowSurf program ID (e.g.,p9josq)If your Referral Portal uses a custom domain, replace
https://grow.surf/YOUR_CAMPAIGN_IDwith its URL (e.g.,https://refer.yourwebsite.com).
At line 25, replace
https://growsurf-blog.s3-us-west-2.amazonaws.com/husto/gift-card-reward.pngwith your own image.
Example 13
Display a static image with text next to it.
What it looks like

Copy/paste this HTML code into your Intercom email
Customize the contents
At line 7, replace
https://growsurf-blog.s3-us-west-2.amazonaws.com/husto/reward.pngwith your own image.At line 8, replace
#F46A54with your own brand color.
Last updated
Was this helpful?