Overview
This recipe sets up the full referral loop β a chain of automated WhatsApp messages that guide both the referrer and their friend through the entire referral journey, from initial share to reward payout. The complete loop: Time to complete: ~20 minutesPrerequisites
Before starting, ensure you have:- An active campaign (see Campaign Management)
- A WhatsApp provider connected (see Provider Setup)
- 4 approved WhatsApp templates on your providerβs platform (youβll create these below)
Steps
1
Prepare Your WhatsApp Templates
Create these 4 templates on your providerβs platform (e.g., Pragma, Meta). All should be in the Marketing category.Submit all 4 templates for Meta approval. Approval usually takes minutes to a few hours.
2
Map Templates in Referbro
Go to Apps β Referbro β WhatsApp Settings and configure each template slot:Order Confirmation:Post-Referral Follow-up:Reward Notification:Nudge Reminder:Toggle each template to Enabled.
3
Enable the Storefront Widgets
- Go to Shopify Admin β Online Store β Themes β Customize.
- Enable both App Embeds:
- Refer & Earn β the floating share button
- Referral Received β the discount popup for referred friends
- Go to Settings β Checkout β Customize and add the Referbro Widget to the Thank You page.
- Click Save in both editors.
4
Test the Complete Loop
Walk through the full referral cycle:
- Place a test order β Check that you receive the Order Confirmation message on WhatsApp.
- Click the referral link from the message β Verify the store loads and the Referral Received popup appears with the discount.
- Place a second order using the referral discount β Check that the original referrer receives the Post-Referral Follow-up message on WhatsApp.
- Verify in Analytics β Go to Apps β Referbro β Analytics and confirm events:
LINK_GENERATED,WHATSAPP_SENT,LINK_CLICKED,ORDER_PLACED.
Best Practices
- Start with 2 templates, not 4 β Begin with Order Confirmation and Referral Invitation. Add the others once these are working.
- Track UTM sources β The
&source=parameters in the template configs let you see in Analytics which touchpoint drives the most referrals. - Use the Nudge feature weekly β Go to Apps β Referbro β Nudge Users and send reminders to dormant referrers every 7β14 days.
- Monitor delivery rates β If WhatsApp delivery rates drop, check that your templates havenβt been paused by Meta (common if too many users report them as spam).
Related Pages
- WhatsApp Integration β Template parameters reference
- WhatsApp Touchpoints β Full list of trigger points
- Provider Setup β Getting API credentials
- Nudges β Manual re-engagement messaging