> ## Documentation Index
> Fetch the complete documentation index at: https://memberful.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate with Klaviyo

> Integrate Memberful with Klaviyo to automatically sync your members, create segments, and send targeted newsletters based on their membership details.

export const RelatedDocs = ({link1, link2, link3, link4, link5, link6, link7, link8, link9, link10, className = ""}) => {
  const links = [link1, link2, link3, link4, link5, link6, link7, link8, link9, link10].filter(Boolean);
  if (!links.length) return null;
  return <section className={`related-docs border dark:border-gray-700 rounded-2xl px-6 py-4 mt-6 ${className}`}>
      <p className="mb-2 font-medium">
        <strong>Related help docs:</strong>
      </p>
      <ul className="space-y-1 mb-1 mt-1">
        {links.map((link, index) => <li key={index}>
            <a href={link.url}>{link.label}</a>
          </li>)}
      </ul>
    </section>;
};

[Klaviyo](https://klaviyo.com/) is a marketing automation platform that connects seamlessly with Memberful. Once integrated, Memberful syncs your members as Klaviyo profiles — including their subscription details, tags, and custom fields — so you can create targeted, data-driven email campaigns.

In this help article, you will learn how to connect Memberful to Klaviyo, keep your subscriber list synced, and use custom properties to build and personalize campaigns.

## Integrate Klaviyo

To start syncing, you will need to provide a private API key. You can create a new one in your [Klaviyo dashboard:](https://www.klaviyo.com/login?next=/create-private-api-key)

1. Go to *Klaviyo → Account → Settings → API Keys → Create Private API Key.*
2. Name your API key.
3. Select **Custom Key** and enable **Full Access** for the *List*, *Profiles*, and *Subscriptions* scopes.
4. Click **Create.**

   <Frame>
     <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-grant-access.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=0f38fa85352f1f585999d9f0bc92c551" alt="Klaviyo grant access" width="1440" height="1352" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-grant-access.png" />
   </Frame>
5. Copy your private key.

   <Frame>
     <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-api-key.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=758284f457b9bfe2c7b3300d769084b5" alt="Klaviyo API key" width="1440" height="694" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-api-key.png" />
   </Frame>
6. In your Memberful dashboard, go to *Content → Email marketing*, then click **Connect** under Klaviyo. Paste your API key and click **Connect to Klaviyo.**

## Create or select a Klaviyo list

After connecting, you can sync to an existing list or create a new one.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-list.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=a6638fcbd1d6114e13f64f2f0d4f2c65" alt="Klaviyo list" width="1440" height="1057" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-list.png" />
</Frame>

Review the two options below before moving ahead:

* [Select an existing list.](https://memberful.com/docs/newsletters/integrations/klaviyo#select-an-existing-list)
* [Sync to a dedicated Memberful list.](https://memberful.com/docs/newsletters/integrations/klaviyo#sync-to-a-dedicated-memberful-list)

### Select an existing list

Select an existing list and click **Finish.** You will return to Memberful, where a link to your Klaviyo list will appear for easy access.

Klaviyo uses double opt-in by default. Unless you change your list to single opt-in, members will receive a confirmation email they must click before being added to your list.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-double-opt-in.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=26baa171a958e3ce7df434caebcc01a2" alt="Klaviyo double opt-in" width="1440" height="1046" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-double-opt-in.png" />
</Frame>

Go to *Settings → Consent* in your Klaviyo list to see or change the opt-in setting.

### Sync to a dedicated Memberful list

Create a new list through Memberful and click **Finish.** You will then be sent back to Memberful where we include a link for you to easily access your list. Your new list will be called **Memberful + your account name.**

<Callout icon="triangle-alert" color="#FFE044">
  Members are subscribed to your list automatically, but they will appear as "unsubscribed" in Klaviyo. This does not affect their ability to receive emails.
</Callout>

## How we keep your list up to date and synced

When you first connect, Memberful either syncs with your existing list or creates a new list called *Memberful + your account name* in Klaviyo. Memberful imports all your existing members into that list as [Klaviyo profiles.](https://help.klaviyo.com/hc/en-us/articles/115005247088)

Your list stays automatically synced — new members are added, existing members are updated, and key details are synced as [custom profile properties](https://help.klaviyo.com/hc/en-us/articles/115000250912). To view these details, click a subscriber in Klaviyo to see the Memberful properties in their profile.

<img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-memberful-properties.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=b30c17a838cd6a75e91364015f983559" alt="Memberful properties" width="828" height="746" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-memberful-properties.png" />

Here are the properties Memberful continuously syncs to Klaviyo:

* **Memberful Plans**: Lists the plans that the member is currently subscribed to. This property is not synced if the member is not subscribed to any plan.
* **Memberful Products:** Lists the downloads that the member has purchased. This property is not synced if the member has not purchased any product.
* **Memberful Referral Link:** The member's unique referral link.
* **Memberful Signup Source:** The member's signup source (for example, checkout, free registration, created by admin, team subscription).
* **Memberful Active Subscription:** "Yes" for members with at least one active subscription, "No" otherwise.
* **Memberful All Access Pass:** "Yes" for members with an All Access Pass, "No" otherwise.
* **Memberful CUSTOM\_FIELD:** Contains responses from Memberful custom fields. Multiple answers are shown as an array. This property is not synced if there are no answers.

<Callout icon="triangle-alert" color="#FFE044">
  Members are not removed from your Klaviyo list when their subscription expires. If a member's subscription ends, Memberful updates or removes the related properties. If a member changes their email address, Memberful adds the new address as a new subscriber and removes Memberful data from the old one.
</Callout>

## Send a targeted campaign

To send newsletters or targeted campaigns, create [segments](https://help.klaviyo.com/hc/en-us/articles/115005237908) using the Memberful properties synced to Klaviyo.

You can target:

* All active members: Create a segment where Memberful Active Subscription contains "Yes."
* Specific plans: Create a segment based on the Memberful Plans property.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-targeted-campaign.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=aee17cd8b954d9c49703b4cb0b464a19" alt="Target people who're subscribed to specific plans in Memberful" width="1440" height="948" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-targeted-campaign.png" />
</Frame>

1. Go to *Audience → Lists & segments → Create List / Segment → Segment.*
2. From the Definition dropdown, choose **Properties about someone**, then select the Memberful property and condition you want to use.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-basic-campaign.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=cb0711831ab6fa2b13eb17b1b341b115" alt="Klaviyo basic campaign" width="1440" height="952" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-basic-campaign.png" />
</Frame>

Want to learn more about customizing and personalizing Klaviyo's emails? [Read Klaviyo's guide.](https://developers.klaviyo.com/en/docs/django_message_design)

## Send automated flows

Combine [segments](https://help.klaviyo.com/hc/en-us/articles/115005237908) with [Klaviyo flows](https://help.klaviyo.com/hc/en-us/articles/115002774932) to send event-triggered emails.

## Add a referral link to your campaign

If you have enabled [Memberful referrals](/discounts-and-gifting/lifecycle-discounts/offer-referral-discounts), you can include referral links in your campaigns so members can earn rewards for referrals. We store your member's referral link as a custom property in their profile.

Use this code to insert a custom property in your campaign:

`{{ person|lookup:'<CUSTOM_PROPERTY_NAME>' }}`

The "person" keyword refers to the member's profile, while this keyword retrieves the given custom property from the profile:

`lookup:'<CUSTOM_PROPERTY_NAME>'`

For example, to insert a member's referral link:

```text theme={null}
{{ person|lookup:'Memberful Referral Link' }}
```

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-referral-link.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=8bf4d01d727eccc87e8fb6b6475753d8" alt="Memberful referral link" width="1440" height="642" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-referral-link.png" />
</Frame>

## Use custom field answers for segmentation and personalization

You can [collect up to 5 custom fields](/configuration/feedback-and-policies/create-custom-fields/) right after your members complete the checkout form. You can then use those answers to segment your subscribers or personalize email campaigns.

<Frame>
  <img src="https://mintcdn.com/memberful/RXy7r5a86iOZJJ9l/images/integrations/email-newsletters/klaviyo/custom-fields-checkout.png?fit=max&auto=format&n=RXy7r5a86iOZJJ9l&q=85&s=6c8783919c975db3e8714c9ee11ae6c0" alt="Using custom fields to segment and personalize in Klaviyo" width="1440" height="1051" data-path="images/integrations/email-newsletters/klaviyo/custom-fields-checkout.png" />
</Frame>

Fields with predefined options (checkbox and dropdown) are ideal for segmenting subscribers — for example, asking where they consume your content or which benefits interest them most.

Fields with free-form answers (text and comment) are best for personalizing emails such as including nicknames or social handles.

Each selected option in a checkbox or dropdown field becomes a new custom property inside Klaviyo.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-custom-properties.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=d4a62c7573007ce1cb88ce7743e36bed" alt="Klaviyo custom properties" width="1440" height="1057" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-custom-properties.png" />
</Frame>

You can use these properties to build custom segments by choosing **Properties about someone** in the segment editor.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-personalize-properties.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=c3ce4217bd272eed4ae9760a2ee54219" alt="Memberful properties" width="1440" height="1053" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-personalize-properties.png" />
</Frame>

You can also use them to personalize emails by clicking **Add personalization** in the campaign editor.

<Frame>
  <img src="https://mintcdn.com/memberful/x41GD4wpM6NK6_u3/images/integrations/email-newsletters/klaviyo/klaviyo-personalize-emails.png?fit=max&auto=format&n=x41GD4wpM6NK6_u3&q=85&s=51fee121a145216c9838d18b9a9ec880" alt="Personalize emails" width="1440" height="1313" data-path="images/integrations/email-newsletters/klaviyo/klaviyo-personalize-emails.png" />
</Frame>

## What happens when you reconnect your email service provider?

When you reconnect your integration, we'll resync your members and update the appropriate custom profile properties, applying them to active members and removing them from inactive ones. To avoid unintended email triggers, disable any [Klaviyo automated flows](https://memberful.com/docs/newsletters/integrations/klaviyo#send-automated-flows) before reconnecting.

<RelatedDocs
  link1={{
url: "/newsletters/best-practices/the-right-way-to-unsubscribe/",
label: "How members should unsubscribe properly.",
}}
  link2={{
url: "/overview/setup-guides/member-newsletter/",
label: "Send members-only newsletters via Memberful.",
}}
/>
