Klaviyo integration
Klaviyo is a powerful email and SMS marketing platform that leverages automation to drive faster, more efficient growth. It transforms your customer data into highly personalized messages.

With this integration, you can easily manage referral campaigns and send notifications to your customers about their referral activities.
Here are some use cases for utilizing Klaviyo:
Send welcome emails for your referral program.
Filter and retrieve referral information of your customers.
Automate reward notifications and updates.
Here are the steps to utilize the integration:
Step 1. Get the Klaviyo API key
Visit the Klaviyo app to obtain your API key. Please check out this detailed guide: https://help.klaviyo.com/hc/en-us/articles/7423954176283
Ensuring your API key has 'Full Access' or at least the following scopes
Events
Metrics
Profiles

Step 2. Connect to Klaviyo
From the BLOOP app, go to Integration > Klaviyo. Enable the feature and enter your API key in the Connect to Klaviyo section, then click Connect.

If the button says Connected, it means BLOOP has successfully connected to Klaviyo.
How the integration works?
The BLOOP–Klaviyo integration includes two main functions:
1. Trigger Events - Send data to Klaviyo to activate email flows
BLOOP automatically sends specific events to Klaviyo whenever customers perform certain actions in your referral program. These events can be used as triggers for automated flows in Klaviyo.

Event
When it’s triggered
Use case
BLOOP - Join Program
When a customer joins the referral program through any signup point (popup, customer account, thank-you page, order page, etc.)
1. Create a flow that welcomes referrers and provides their unique referral link.
2. Remind them to refer their friend
BLOOP - Referee receives discount
When friends enter their emails to claim the rewards
Remind friends to use their discount
BLOOP - Referral Sharing
When a referrer sends an invitation via email (email only)
Send a confirmation email to referrers when they successfully share their referral link.
BLOOP - Successful Referral
When the invited friend (referee) completes a purchase through the referral link
Send a congratulatory email to referrers for a successful referral.
Important note: These events won’t appear automatically in your Klaviyo metrics right after connecting. To make them visible, you’ll need to trigger them manually by simulating a real referral process:
A customer joins the referral program (Join Program).
The customer shares their link via email (Referral Sharing).
A friend completes a purchase through the shared link (Successful Referral).
Once these actions are completed, Klaviyo will receive the events and you can start building your flows properly.
2. Sync referrer profiles automatically
BLOOP automatically syncs referrer data and custom properties into Klaviyo Profiles. These properties store key information and the current referral status of each participant.
You can use these custom properties to:
Segment your contacts who are part of the referral program.
Personalize your email content with referral-related data.
Let’s see this example:

The above custom properties can be explained as follows:
Property
Description
Example
BLOOP Is referee
Indicates whether the person is a referee (invited friend).
false → This person is not a referee.
BLOOP Is referrer
Indicates whether the person is a referrer (someone who refers others).
true → This person has a referral link to share.
BLOOP Joining date
The date and time when the person joined the BLOOP referral program.
2025-10-23T02:08:23.000Z → Joined on Oct 23, 2025 at 9:08 AM.
BLOOP Joining source
The registration source that shows how they joined the program.
Self register → Joined on their own, not through a referral link.
BLOOP Referral code
The unique referral code assigned to the user.
BLOOP_fWODzSt0
BLOOP Referral link
The user’s personal referral link for inviting friends.
r-bloop.cc/fWODzSt0
BLOOP Referral revenue
The total revenue generated from successful referrals.
0 → No purchases made yet via this referral link.
BLOOP Successful referrals
The total number of successful referrals.
0 → No successful referrals yet.
How to set up email flows in Klaviyo
After connecting BLOOP with Klaviyo, you can create automated email flows triggered by the events above. We suggest 4 basic email flows that you can use in your program below:
Flow 1 – Welcome customers to your referral program
Trigger event: BLOOP - Join Program
Purpose: Send a welcome email confirming the referrer has successfully joined and provide their referral link.
First, create a new flow. You will then see the following interface:

On the right side, click Your metrics and select API. Then, choose BLOOP - Join Program as the trigger.

Now that the trigger is created, the next step is to create your email. The integration allows you to add custom variables into the email content, such as the BLOOP Referral Link.

To utilize a custom variable, go to the email content editor, click Personalization, scroll down, and select the variable you want.
Here's what it looks like when you're finished:

Flow 2 – Remind referrers to start referring
Trigger event: BLOOP – Join Program
Purpose: Send a follow-up reminder a few days after joining to encourage new referrers to share their link if they haven’t done so yet.
Suggested setup:
Add a conditional split (optional): for example, send this email only if the referrer has 0 successful referrals yet.
First, choose trigger BLOOP – Join Program.

Optionally, add a trigger filter to only include referrers with no referrals or who haven’t shared yet:

Next, add a time delay (e.g. 3 days) after the “BLOOP – Join Program” event trigger. And then, drag an Email block into your flow.

Flow 3 – Confirm when a referrer shares an invitation
Trigger event: BLOOP - Referral Sharing
Purpose: Send a confirmation email when a referrer successfully sends an invitation.

Flow 4 – Congratulate referrers on a successful referral
Trigger event: BLOOP - Successful Referral
Purpose: Send a celebratory email to referrers when their friends complete a purchase.

That's how you can utilize the Klaviyo integration feature. If you need assistance, feel free to reach out to us via in-app Live Chat or at [email protected].
Last updated
