For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tutorials

Add GrowSurf referral links and progress data to Resend Broadcasts.

Once GrowSurf syncs participants to Resend, you can insert their referral link and progress directly into a Broadcast. Resend uses triple braces for Contact Properties.

Use the synced grsf_share_url property as the link and visible text:

<p>Give your friends a reason to join.</p>
<p>Copy and paste your unique referral link to share:</p>
<p>
  <a href="{{{contact.grsf_share_url}}}">{{{contact.grsf_share_url}}}</a>
</p>

Replace YOUR_PROGRAM_ID with your GrowSurf Program ID. If you use a custom Referral Portal domain, replace the https://grow.surf/YOUR_PROGRAM_ID portion with that URL.

<a href="https://grow.surf/YOUR_PROGRAM_ID?grsf_email={{{contact.email}}}&grsf_first_name={{{contact.first_name}}}&grsf_last_name={{{contact.last_name}}}">
  View your referral progress
</a>

Show referral progress

<p>You have made {{{contact.grsf_total_referral_count|0}}} referrals so far.</p>

Resend supports fallback values after the | character. Its Broadcast guide documents the same syntax.

Last updated

Was this helpful?