Getting Started with Friendbuy
Getting Started with Referral
Plan Your Referral Program Implementation Team
Merchant SDK Setup with Google Tag Manager
How to Join Your Team on Friendbuy
Best Practices
Referral Program Placements
Friendbuy Referral Emails
Driving Referral Program Awareness
Referral Offer Strategies
Limited-Time Offer Promotions in Referral
Referral Contests, Sweepstakes and Giveaways
A/B Testing Best Practices
Account Management
How can I invite my team to the Friendbuy platform?
Managing Your Account Settings
How to Set Up and Change Your Email Sender
Referral Campaign Management
Widgets
How to Create a New Theme
How to Make Changes to a Theme
Widget & Email Image Specifications
How to Apply Theme Changes to a Widget
How to update a Widget or Theme to the latest version
How to Set Up a Ribbon
How to Set Up an Advocate Landing Page
How to Set Up a Friend Landing Page
How to Set Up a Post-Purchase Overlay
How to Set Up an Account Page Widget
How to configure your Terms & Conditions
How to Test a Widget
How to Set up a Self-Referral Overlay
How to Set Up a Customer Dashboard
How to Personalize Your Widgets with the Advocate name
Character Count Recommendations
Campaign Settings
How to Create a New Referral Campaign
How to set up Referral Code Personalization for PURLs
Setting Up an Advocate Reward
Setting Up a Friend Incentive
Shopify Coupon Codes Integration
How to Run an A/B Test
How to Change Your Referral Offer
Setting Up Max Clicks for Referral Links
How to Generate Personalized URLs (PURLs) through Our API
How to Generate Personalized URLs (PURLs) for Advocates
How to Configure Tiered Rewards
How to Archive a Referral Campaign
How to Duplicate Your Campaign
How to Set Up a Redirect for Limited Time Campaigns
How to Create a Product Sharing Referral Campaign
How to set up Code Based Sharing
Code Banks
How to Create a New Code Bank
How to Generate Coupons in Bulk for Shopify
Setting Up Low Code Bank Notifications
How to Add Codes to an Existing Code Bank
Emails
Email Types for Your Referral Program
How to Add DNS Records for Email Sender Verification
How to Create, Edit, and Manage Emails
How to set up an Expiration Reminder email
How to Assign an Email to a Campaign
Referral Reward Store
Regional Restrictions: Block Your Referral Program in Specific Countries
Generate a QR Code for a Referral Link (API)
Store Credit Rewards for Referral (Shopify Integration)
Loyalty Program Management
Uploading Data From a Legacy Loyalty Program
How to Set Up Purchase Based Member Tiers Program
How to Set Up a Points-Based Member Tier Program
How to Set Up Points Redemption Options
How to Set Up Shopify Coupon Code Integration in a Loyalty Earning Event
How to Set Up a Loyalty Opt-in CTA
Understanding the Loyalty Analytics
Manually Reward Customers via CSV Upload
Rolling Points Expiration Reminder Emails
Manually Opt a Customer In or Out of Loyalty
Receipt Scanning for Loyalty
How to Display Loyalty Points on a Product Detail Page (PDP)
How to Create an Earning Event
Cashback Rewards for Loyalty (Shopify Integration)
How to Configure an Earning Event in your Loyalty Program
How to set up expiration for Points or Account Credit
How to Create, Edit, and Manage Loyalty Emails
Integrations
Attentive Integration
Send a Triggered Text to Prompt a Referral After a Positive Review with Attentive and Okendo
Automatically Prompt a Referral Post Purchase in Attentive
Send Referral Program Text Messages Through Attentive
How to Text Coupon Codes to Advocates using Attentive Journeys
Make it Easy for Advocates to Refer by Sending Their PURL Through SMS using Attentive Journeys
How to Send Advocates a Reminder Text to Redeem Their Coupon Codes through Attentive Journeys
How to Send Referred Friends a Reminder Text to Redeem Their Coupon Codes through Attentive Journeys
How to reward Loyalty Members for signing up for Attentive text messages and emails
How to Include a Customer's Loyalty Points Balance in an Attentive Text
How to Send a Coupon Code to a Referred Friend using Attentive Journeys
How To Enable the Attentive Integration
Braze Integration
How To Enable The Braze integration
How to Send One Time Emails with Referral Links through Braze
How to Send Referral Links Post Purchase Through Braze
How to Email Coupon Codes Through Braze to Advocates and Friends After They Are Distributed by Friendbuy
How to Promote Your Referral Program via SMS (Through Braze)
How to Trigger a Text to Remind Advocates to Redeem Referral Rewards (Through Braze)
How to Trigger a Text to Remind Referred Friends to Redeem Their Incentives (Through Braze)
How to Send Coupon Codes Through Braze SMS to Advocates and Friends After They Are Distributed by Friendbuy
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Braze)
Cordial Integration
DataGrail Integration
Ethyca Integration
Fivetran Integration
Iterable Integration
Trigger a Direct Mail Campaign to Drive Referral Program Awareness (Friendbuy x Iterable x Poplar)
How to Enable the Iterable Integration
How to Automatically Text Referred Friends their Coupon Code with Iterable Journeys
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Iterable)
Increase Referral Program Awareness with a Dedicated Email Blast through Iterable Journeys
Klaviyo Integration
How to send Referral Links Post Product Review (Yotpo + Klaviyo)
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Klaviyo)
How to send one time emails with referral links through Klaviyo
How to Send Referral Links Post Positive Product Review (Okendo + Klaviyo)
How to Send Referral Links Post Purchase through Klaviyo
How to Promote Your Referral Program via SMS (Through Klaviyo)
How to Enable the Klaviyo Integration
How to Distribute a Reward To Your Loyalty Members on Their Birthday (Through Klaviyo)
How to Send a Customer their Loyalty Points Balance Through Klaviyo
How to Email Coupon Codes Through Klaviyo to Advocates and Friends After They Are Distributed by Friendbuy
How to Reward Customers for Providing a Review Through Yotpo via Klaviyo Through Your Loyalty Program
How to Send Reminder Texts to Redeem Loyalty Rewards Through Klaviyo
Upgrading to Klaviyo OAuth with your Friendbuy Integration
How to Reward Customers for Providing a Review Through Okendo via Klaviyo Through Your Loyalty Program
How to Trigger a Text to Remind Advocates to Redeem Referral Rewards (Through Klaviyo)
How to Trigger a Text to Remind Referred Friends to Redeem their Incentives (Through Klaviyo)
How to Send Coupon Codes through Klaviyo SMS to Advocates and Friends After They are Distributed by Friendbuy
How to Reward Customers For Subscribing to Klaviyo Emails and Texts Through Your Loyalty Program
How to Segment Customers Based on Tier Status in Klaviyo
How to Reward Customers for Providing a Review Through Stamped via Klaviyo Through Your Loyalty Program
Kustomer integration
Ordergroove Integration
Recharge Integration
Friendbuy Recharge Integration: Renewal Milestone Rewards
How to Enable Friendbuy's integration with Recharge
Salesforce Commerce Cloud
Segment Integration
How to Integrate Friendbuy as a Segment Source
How to set up the Segment Web-Mode (Destination Actions) Integration
Shopify Integration
How to Enable the Shopify Integration
Shopify Checkout Extensibility
Checkout Extensibility - Shopify Pixel Tracking
Shopify Theme App Embed
How to Add the Friendbuy Referral Widget and Referral Dashboard to Shopify Customer Accounts
How Friendbuy Powers Loyalty Point Refunds with Shopify
How to Integrate Friendbuy with Shopify POS for Loyalty and Referral
Tango Card Integration
Tremendous Integration
Postscript Integration
How to Integrate Your Friendbuy Loyalty and Referral Program with Rise.ai to Issue Stackable Gift Cards and Account Credit
Friendbuy + Stripe Integration (Referral Program)
How to Integrate with Ordergroove
Configuring the Friendbuy MCP in Claude and ChatGPT
Fraud Prevention
How to Block a Referral Code
How to Block an Email Address
Fraud Settings and Business Rules
Configuring a Global Reward Allowance
Configuring a Referral Link Fallback URL
How the Similar Email Address Fraud Check Works
Customer Service Portal
How do I check the status of a referral?
Customer Profile Name Updates from Widget Submissions
How to Manually Add or Remove Credit / Points to a Customer's Account
Why was my customers reward rejected?
The Referred Friend put in their email address but didn’t get their coupon code. How do I find this?
Resend Reward Email
Override a Rejected or Pending reward
How to Search for a Customer Profile
How to Search for a Customer’s Referral Link in the Friendbuy Platform
How to create a Manual Referral
Why didn't the Advocate receive a Reward for a successful referral?
Reasons for Rejected Advocate Rewards and Friend Incentives
Analytics & Reports
Performance Overview
Reports
Mark purchases as "Test" to maintain clean reporting
Top Advocates Report
Scheduled Reports
Account Credit or Points Statement Export
Exporting Reports from Friendbuy
Email & SMS Report
Advocate Rewards Report
Purchases Report
Friend Incentives Report
Understanding the Codes Report
Dashboards
Referral Performance Analytics Dashboard
Advocate Referral Widget Source Tracking
Referral Analytics Dashboard Overview Metrics
Advocate Reward Email Analytics
Loyalty Email Analytics
Common FAQs
What does Fraud Protection do?
How to Access my Billing Information
What is a typical referral flow?
How to Apply Theme Changes to a Widget
Difficulty downloading reports after you receive an export email?
What are Fraud Checks, Tier Checks, and Rules Checks in the Rewards Report?
How do I change my password?
What is a self-referral redirect URL?
What do the Reward Statuses and Definitions mean?
How to Create a New Theme
What is a Friend Widget?
How are Conversions Tracked in Friendbuy?
A Glossary of Terms
How long is the Referred Friend attribution window
Common Scenarios and Troubleshooting Steps
Developer Documents
- All Categories
- Integrations
- Cordial Integration
- How to Enable the Cordial Integration
How to Enable the Cordial Integration
Updated
by Samantha Brown
Leverage the Friendbuy integration with Cordial, the cross-channel marketing and customer engagement platform, to accelerate email and SMS subscriber growth. Seamlessly incorporate your referral program as part of your customer notification strategy (i.e. Email, SMS and Push).
Friendbuy will automatically send contact info for your Advocates and their Referred Friends into Cordial lists after they opt-in through a Friendbuy widget. Once the integration is enabled, two seperate lists will be created in Cordial for Advocate and Friend profiles that will be populating as customers interact with your referral program widgets. An Advocate's Personal URL (their unique referral link), coupon codes, and other customer data will be updated in the Cordial customer profile, respectively.
You can then use Cordial to send a personalized email or SMS message to thank an Advocate for sharing or remind them to continue sharing by including their unique referral link. You can also message Referred Friends to provide product recommendations after they have earned a coupon code. This integration enables a powerful customer experience that will automate outreach at scale.
Set Up Instructions
- Log into your Cordial account
- Click on your Cordial profile in the top right to open the dropdown menu > select API Keys under the Administration section
- Click on + New button to create a new API Key

- Type in an API key name (recommended entering ''Friendbuy Integration Key")
- Enter the IP Address: 34.238.184.229 and a description (recommend entering "Friendbuy IP") in the IP whitelist section
- Copy your API key and then log into your Friendbuy account
- Log into your Friendbuy account and go to Developer Center > Integrations tab > click on Add integration below the Cordial logo
- Enter your Cordial API Key in the field

- Turn on two additional Email integration features using the toggle switches:
1. (Optional) If you turn on Update Cordial Subscribe Status to Unsubscribed, then Friendbuy will automatically update a Cordial contact's email status to Unsubscribed when a Friend chooses to click an unsubscribe link contained with a Friendbuy Advocate Share Email.
If this feature is turned off, Friendbuy will continue to maintain our own Friend unsubscribe list so that our system does not send Advoate Share Emails to their inbox in the future, but we will not update your Cordial status so that you can choose to sending marketing emails to their inbox in the future.
2. (Optional) If you turn on Check Cordial Subscribe Status Before Sending Share Emails, then Friendbuy will automatically check a Cordial contact's email subscribe status before sending an Advocate Share Email to a referred Friend. If the Cordial Subscribe Status is Unsubscribed, we will not send the Advocate Share Email.

- Enter your existing Cordial SMS Program Name if you are collecting phone numbers in your Friendbuy referral widget(s) and would also like them sent to Cordial (optional).
Program Name is available in your Cordial account by going to Account Settings > SMS > Program Name.


- Click Install Integration and a success message will appear in blue text above the API Key confirming the integration was installed successfully
SMS Channel Set Up Instructions with Cordial
If you would like to recieve Advocate and Friend phone numbers in your Cordial account, you must first set up the SMS channel in Cordial. Please review Cordial's documentation to enable the SMS channel and set up your SMS Program.
Important:
- When setting up your SMS Program in Cordial, be sure to add 'friendbuy' as a keyword. This is required for the Friendbuy <> Cordial integration to support SMS.
- After setting up your SMS Program in Cordial, be sure to add your Program Name in the Friendbuy integration section (step 10 above). Once your Program Name is set up, do not change it. This is required for the Friendbuy <> Cordial integration to support SMS.
- After setting up your SMS Program in Cordial and succesfully completing the integration steps (#1-11 above), Friendbuy will automatocally send phone numbers into your Cordial account and trigger Cordial's SMS Double Opt-In (DOI) process for customer contacts.
How to See Friendbuy Data in Cordial
Customer data will be added to the lists as soon as they interact with your referral program widgets. Important to note, customer data will only be sent to Cordial if the customer opts-in through the referral widget by selecting the opt-in box(es). The opt-in box(es) are automatically added to your referral widget to gather consent from the customer that they would like to recieve further emails and/or text messages from your company. If a customer submits their contact information without the opt-in box(es) checked, the customer data will not be sent to Cordial. See an example widget below:

Once the integration has been successfully installed, two seperate lists (Friendbuy_Advocates and Friendbuy_Referred_Friends) will be added to your Cordial account:

To view a customer profile in Cordial, navigate to Contacts > Search Contacts > filter for lists > Actions > View/Edit individual subscriber results


Friendbuy Attribute | Definition |
FBuy Email Subscribe Status | Status can be 'subscribed' or 'unsubscribed'. Friendbuy maintains our own master opt-out file to comply with worldwide anti-spam laws like CAN-SPAM and CASL. If a referred Friend unsubscribes from your referral program, our system knows not to send future Advocate Share Email. Note: this status is internal to Friendbuy and does not impact your ability to send email marketing messages through your own Coridal account. Additionally, you can choose to have Friendbuy update Cordial's subscribe status automatically by following step 9 > option 1 (explained above). |
FBuy Referral Link | A personal referral link (PURL) generated for an Advocate. For example, https://fbuy.io/EzcW |
FBuy Referral Link Campaign Id | The Campaign Id associated with the personal referral link generated for an Advocate |
FBuy Referal Link Campaign Name | The Campaign Name associated with the personal referral link generated for an Advocate |
FBuy Coupon Code Campaign Id | The Campaign Id associated with the most recent coupon code distributed to the customer. |
FBuy Coupon Code Campaign Name | The Campaign Name associated with the most recent coupon code distributed to the customer. |
FBuy Coupon Code Value | The currency value of the most recent coupon code distributed to the customer. |
FBuy Coupon Code Status | The status of the most recent coupon code distributed to the customer. Status can be 'distributed' or 'redeemed'. |
FBuy Coupon Code | The most recent coupon code distributed to the customer. Note: only one coupon code |
FBuy Date Of Last Share | The date and time the Advocate last shared with a Friend via any share channel. |
FBuy Original Email Address | The original (non-normalized) email address of the customer as it was entered into the referral widget. Non-normalized means it includes characters like . and + The reason we use a normalized email address as the Cordial email contact is to avoid creating multiple customer profiles based on non-normalized characters. |