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

# Klaviyo

> Send wishlist saves, removes, shares and purchases to Klaviyo profiles, and build a reminder flow on them.

Loveful sends wishlist activity to your Klaviyo account, on each shopper's profile, so you can start flows from it. Klaviyo needs **Loveful Plus**. Open it under **Settings › Integrations › Klaviyo**.

You need a Klaviyo private API key. Events access is enough to send events. To let Loveful build the reminder flow for you, the key also needs access to flows, templates and metrics.

## Connect

**1. Create a private API key**

Choose **Create key in Klaviyo**. It opens Klaviyo with the access Loveful needs already picked.

**2. Name it and create it**

Name it Loveful, keep the access as chosen, and create it. Copy the key: Klaviyo only shows it once.

**3. Paste it into Loveful and save**

Enter it as **Private API key**. It starts with `pk_` and is stored encrypted.

**4. Check the connection**

Choose **Check connection**. Loveful tells you if Klaviyo doesn't recognise the key, or if the key can't send events.

The page shows when the last event was sent. To stop sending, choose **Disconnect**.

## Events

| Metric | When it's sent |
| - | - |
| `Wishlist Item Added` | A shopper saved a product to their wishlist. |
| `Wishlist Item Removed` | A shopper removed a product from their wishlist. |
| `Wishlist Shared` | A shopper shared their wishlist, with the link they shared. |
| `Wishlist Purchase` | A shopper bought products they had saved, with those items and their value. |
| `Wishlist Item Reviewed` | A product the shopper saved got a new 4 or 5 star review. Needs [Judge.me Reviews](https://docs.loveful.app/user-guide/integrations/judgeme-reviews.md) connected. |

Klaviyo creates each metric the first time Loveful sends it, so a metric only appears in Klaviyo after its first event.

### Event properties

Properties use Klaviyo's own style, as its Shopify events do. Use them in a flow email as `{{ event.ProductName }}` and so on.

**Wishlist Item Added** and **Wishlist Item Removed**:

| Property | What it is |
| - | - |
| `ProductID`, `VariantID` | The product's and variant's Shopify IDs. |
| `ProductName` | The product's title. |
| `VariantName` | The variant's title, empty for a product with no options. |
| `SKU` | The variant's SKU. |
| `Price`, `Currency` | The variant's price and your store's currency. |
| `ImageURL` | The product's image. |
| `URL` | A link to the product, with the variant selected. |
| `WishlistItemCount` | How many items are on the shopper's wishlist now. |
| `ProductRating`, `ProductReviewCount` | The product's star rating and number of reviews. Only included when the product has reviews. |

A save's event value is the product's price, for Klaviyo's revenue reports.

**Wishlist Shared**: `WishlistItemCount`, `ShareMethod` (`link` or `email`) and `ShareURL`, the link the shopper shared. The link goes only to the shopper's own profile.

**Wishlist Purchase**: `OrderID`, `Currency`, `ItemNames` (the wishlisted products' names) and `Items`. Each item has `ProductID`, `VariantID`, `ProductName`, `VariantName`, `Quantity`, `Price`, `ImageURL` and `URL`. The event value is the wishlisted items' total. It's sent once per order.

**Wishlist Item Reviewed**: the saved product (`ProductID`, `VariantID`, `ProductName`, `VariantName`, `Price`, `Currency`, `ImageURL`, `URL`) and the review: `ReviewRating`, `ReviewTitle`, `ReviewBody` and `ReviewerName`. Long review text is cut to 500 characters.

### Profile properties

Saves, removes and shares also set two properties on the shopper's profile, for segments:

* **Wishlist Item Count**: how many items are on their wishlist.
* **Wishlist Products**: the names of the products on their wishlist (signed-in shoppers only).

## Who gets events

Signed-in shoppers' events go to their profile by email.

A guest's saves and removes go too when Klaviyo already knows them in that browser (from a sign-up form or an email click) and they've allowed marketing in your store's cookie banner. Guests' events don't include the product's star rating.

## Wishlist reminder flow

A reminder flow emails shoppers about products they saved but haven't bought yet.

### Create it from Loveful

Under **Wishlist reminder flow**, choose **Create flow**, give it a name (the default is **Wishlist reminder**) and confirm. Loveful adds a draft flow to your Klaviyo:

* It starts on **Wishlist Item Added**.
* It waits 3 days.
* It sends an email showing the saved product's image, name and variant, with a **View product** button. The subject is "Still thinking about `{{ event.ProductName }}`?".
* Anyone who has had a **Wishlist Purchase** since the flow started is skipped. If Klaviyo has no Wishlist Purchase metric yet, Loveful uses Shopify's **Placed Order** instead.

Nothing sends until you turn the flow on. Check the email, set your sender details, then turn it on in Klaviyo. Choose **Open flow in Klaviyo** to go straight to it.

> [!NOTE]
>
> Klaviyo creates the Wishlist Item Added metric with the first save Loveful sends. Until then, Loveful can't build the flow and asks you to try again after the first save. If Klaviyo has no purchase metric at all, the flow is created without the purchase filter, so add it yourself (step 4 below).

If your key can only send events, Loveful asks you to create a new key with the access it needs and save it.

### Build it yourself

**1. Create a flow**

In Klaviyo, create a flow from scratch.

**2. Set the trigger**

Set its trigger to the **Wishlist Item Added** metric.

**3. Add a delay**

Add a time delay, for example 3 days.

**4. Add a flow filter**

Add a flow filter: **Wishlist Purchase** zero times since starting this flow.

**5. Add an email**

Show the product with `{{ event.ProductName }}`, `{{ event.ImageURL }}` and `{{ event.URL }}`.

> [!TIP]
>
> With [Judge.me Reviews](https://docs.loveful.app/user-guide/integrations/judgeme-reviews.md) connected, you can build a second flow on **Wishlist Item Reviewed** to tell shoppers when a product they saved gets a good review.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.