Integrating RightMessage with Klaviyo
Integrating RightMessage with Klaviyo allows you to sync form, quiz, and survey data to your Klaviyo account, enabling you to segment subscribers and personalize your website based on their Klaviyo properties and tags.
Before you begin
You'll need:
An active Klaviyo account with a Private API key
Admin access to your RightMessage account
A published RightMessage site (integrations only work on live sites)
No other email platform currently connected to RightMessage
RightMessage allows only one email platform integration per site. If you have another ESP connected, you'll need to disconnect it before linking Klaviyo.
The Klaviyo integration is available on the Scale plan and above.
Get your Klaviyo API key
RightMessage uses a Private API Key to connect with Klaviyo.
Log in to your Klaviyo account
Navigate to Account > Settings > API Keys
Click Create Private API Key if you don't have one already
Ensure the key has Full Access to Profiles
Copy your Private API Key
Keep your Private API Key secure. It grants write access to your Klaviyo account and should never be shared publicly.
Connect RightMessage to Klaviyo
In RightMessage, navigate to Settings > Integrations
Find the Klaviyo card and click it
Paste your Private API Key
Click Connect
You'll see a success message when the connection is established. RightMessage will automatically begin syncing your segments as custom properties in Klaviyo.
Identify visitors from Klaviyo
To personalize your website for Klaviyo subscribers, RightMessage needs to identify them when they visit.
Automatic identification (recommended)
If you already have Klaviyo's JavaScript snippet installed on your site, RightMessage automatically detects it and identifies returning subscribers without any extra setup. This is the easiest and most reliable method.
URL parameter identification
For links in your Klaviyo emails, add the rm_kl parameter using Klaviyo's merge tag:
https://yoursite.com?rm_kl={{ email }}Klaviyo replaces the merge tag with each subscriber's email address when the email is sent.
RightMessage automatically strips the rm_kl parameter from URLs to keep your links clean when visitors share them.
For Klaviyo forms
If you're using Klaviyo's hosted forms:
In your Klaviyo form settings, navigate to Advanced
Enable Send to thank you page
Set your thank you page URL and append:
?rm_kl={{ email }}
Make sure the RightMessage tracking script is installed on your thank you page so it can capture the subscriber.
Sync data from RightMessage to Klaviyo
Once connected, you can sync responses from RightMessage forms, quizzes, and surveys directly to Klaviyo as custom properties or list additions.
Map RightMessage fields to Klaviyo properties
In your RightMessage integration settings, navigate to the Mappings tab
For each RightMessage field (like quiz scores or custom responses), select the corresponding Klaviyo property
Standard fields like
first_nameandemailmap automaticallyAny custom data is written as flat key-value properties on the Klaviyo profile
Available native fields
RightMessage can read and write these Klaviyo profile fields: first_name, last_name, phone_number, organization, title, city, country, region, and zip.
Use Klaviyo data in RightMessage
You can personalize content on your website using data from Klaviyo.
Segment based on Klaviyo data
Create conditions in your RightMessage flows based on Klaviyo properties:
In your Flow builder, add a Condition step
Choose Klaviyo as the data source
Select the property or tag you want to check
Set your condition (equals, contains, exists, etc.)
This lets you show different content, CTAs, or offers based on what you know about subscribers in Klaviyo.
Troubleshooting
Connection fails or shows "Invalid API credentials"
Verify your Private API Key was copied completely
Check that the key has Full Access to Profiles in Klaviyo
Try regenerating your key in Klaviyo and reconnecting
Synced data isn't appearing in Klaviyo
Double opt-in: If your list requires confirmation, updates won't sync until subscribers confirm their email
Field mismatches: Make sure the custom properties exist in Klaviyo before syncing
Check the History tab in your RightMessage integration settings for sync logs and error messages
Visitor identification isn't working
If using automatic identification, verify Klaviyo's JS snippet is loading on your site
If using URL parameters, check that
rm_klis in your email links with the correct merge tagMake sure the parameter isn't being stripped by redirects or URL shorteners
Ensure the RightMessage tracking script is installed on the landing page