ESPs and CRMs

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.

  1. Log in to your Klaviyo account

  2. Navigate to Account > Settings > API Keys

  3. Click Create Private API Key if you don't have one already

  4. Ensure the key has Full Access to Profiles

  5. 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

  1. In RightMessage, navigate to Settings > Integrations

  2. Find the Klaviyo card and click it

  3. Paste your Private API Key

  4. 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.

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:

  1. In your Klaviyo form settings, navigate to Advanced

  2. Enable Send to thank you page

  3. 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

  1. In your RightMessage integration settings, navigate to the Mappings tab

  2. For each RightMessage field (like quiz scores or custom responses), select the corresponding Klaviyo property

  3. Standard fields like first_name and email map automatically

  4. Any 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:

  1. In your Flow builder, add a Condition step

  2. Choose Klaviyo as the data source

  3. Select the property or tag you want to check

  4. 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_kl is in your email links with the correct merge tag

  • Make sure the parameter isn't being stripped by redirects or URL shorteners

  • Ensure the RightMessage tracking script is installed on the landing page

Was this helpful?