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

# Omnisend

> Send wishlist saves, removes, shares and purchases to Omnisend contacts, and build a reminder automation on them.

Loveful sends wishlist activity to your Omnisend account as custom events on each shopper's contact, so you can start automations from it. Omnisend needs **Loveful Plus**. Open it under **Settings › Integrations › Omnisend**.

You need an Omnisend API key with the Events permission. To let Loveful build the reminder automation for you, it also needs Automations and Email templates.

## Connect

**1. Create an API key**

In Omnisend, open **Store settings**, then **API keys**, and click **Create API key**. **Open API keys** in Loveful takes you there.

**2. Keep every permission on**

Name it Loveful and leave every permission switched on (the default). Loveful uses Events, plus Automations and Email templates to build the reminder for you.

**3. Copy the key**

Create it and copy the key. Omnisend only shows it once.

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

Enter it as **API key**. It's stored encrypted. Then choose **Check connection**.

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

## Events

| Custom event | 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. |

Events are sent for signed-in shoppers only: Omnisend needs their email to find their contact.

### Event properties

Use them in an automation 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. |

**wishlist shared**: `wishlistItemCount`, `shareMethod` (`link` or `email`) and `shareUrl`.

**wishlist purchase**: `orderId`, `currency`, `value` (the wishlisted items' total), `productNames` (comma separated) and `items`. Each item has `productId`, `variantId`, `quantity` and the product fields above. 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.

### Contact properties

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

* **`wishlistItemCount`**: how many items are on their wishlist.
* **`wishlistProducts`**: the names of the products on their wishlist, comma separated.

## Wishlist reminder automation

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

### Create it from Loveful

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

* It starts on the custom event **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]]`?" and the sender name is your store's name.
* Anyone who triggers **wishlist purchase** meanwhile leaves the automation.

It's created switched off, so nothing sends until you start it. Check the email and your sender details, then start the workflow in Omnisend. Choose **Open in Omnisend** to go straight to it.

Loveful declares both events in Omnisend first, so the automation works before any save or purchase has been sent.

> [!NOTE]
>
> If your Omnisend plan doesn't include this, Loveful tells you, and you can build the automation yourself with the steps below. If your key is missing a permission, create a new key with Automations, Email templates and Events switched on and save it.

### Build it yourself

**1. Create a workflow**

In Omnisend, open **Automations** and create a workflow from scratch.

**2. Set the trigger**

Set its trigger to the custom event **wishlist item added**. It appears once Loveful has sent one.

**3. Add a delay**

Add a delay, for example 3 days.

**4. Leave out buyers**

Add a split or exit condition so shoppers who triggered **wishlist purchase** since don't get the email.

**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 automation 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.