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

# Mailchimp

> Send wishlist saves, removes, shares and purchases to your Mailchimp audience, for automation flows.

Loveful sends wishlist activity to your Mailchimp audience as events on each shopper's contact, so you can start automation flows from it. Mailchimp needs **Loveful Plus**. Open it under **Settings › Integrations › Mailchimp**.

You need a Mailchimp API key.

## Connect

**1. Open your API keys**

In Mailchimp, open your profile, then **Account**, **Extras** and **API keys**. **Open API keys** in Loveful takes you there.

**2. Create a key**

Click **Create a key**, name it Loveful and generate it.

**3. Copy the key**

Mailchimp only shows it once. It ends with your data centre, like `-us21`.

**4. Paste it into Loveful and choose your audience**

Enter it as **API key** and save. Then choose the **Audience** your store's customers are in. If you only have one audience, Loveful chooses it for you.

Choose **Check connection** to make sure Mailchimp recognises the key. The page shows when the last event was sent. To stop sending, choose **Disconnect**.

> [!NOTE]
>
> Mailchimp API keys expire after a year. Add a new one here before then, or events stop.

When you choose an audience, Loveful adds two fields to it: **WL\_COUNT** (Wishlist item count) and **WL\_ITEMS** (Wishlist products). Fields that already exist are left as they are.

## Who gets events

Events go to signed-in shoppers who are already in your audience. Shopify's Mailchimp app keeps your customers there. Loveful never adds contacts, so it can't add to your Mailchimp bill. A shopper who isn't in the audience is skipped.

## Events

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

### Event properties

Mailchimp only takes text values, so numbers are sent as text.

**wishlist\_item\_added** and **wishlist\_item\_removed**:

| Property | What it is |
| - | - |
| `product_id`, `variant_id` | The product's and variant's Shopify IDs. |
| `product_name` | The product's title. |
| `variant_name` | The variant's title, empty for a product with no options. |
| `price`, `currency` | The variant's price and your store's currency. |
| `image_url` | The product's image. |
| `url` | A link to the product, with the variant selected. |
| `wishlist_item_count` | How many items are on the shopper's wishlist now. |
| `product_rating`, `product_review_count` | The product's star rating and number of reviews. Only included when the product has reviews. |

**wishlist\_shared**: `wishlist_item_count`, `share_method` (`link` or `email`) and `share_url`.

**wishlist\_purchase**: `order_id`, `currency`, `value` (the wishlisted items' total) and `product_names` (comma separated). It's sent once per order.

**wishlist\_item\_reviewed**: the saved product (`product_id`, `variant_id`, `product_name`, `variant_name`, `price`, `currency`, `image_url`, `url`) and the review: `review_rating`, `review_title`, `review_body` and `reviewer_name`. Long review text is cut to 500 characters.

### Contact fields

Saves, removes and shares also update the shopper's audience fields, for segments:

* **WL\_COUNT**: how many items are on their wishlist.
* **WL\_ITEMS**: the names of the products on their wishlist, comma separated. Mailchimp keeps the first 255 characters.

## Wishlist reminder flow

A reminder flow emails shoppers about products they saved but haven't bought yet. Turning a flow on needs a paid Mailchimp plan.

**1. Start a flow**

In Mailchimp, open **Automations** and click **Build from scratch**.

**2. Set the trigger**

Name it, choose the trigger **API & Integrations**, then **Event API**, and pick `wishlist_item_added`.

**3. Add a delay**

Add a time delay, for example 3 days.

**4. Leave out buyers**

Add a condition so contacts who triggered `wishlist_purchase` since don't get the email.

**5. Add an email**

Add an email that shows the product. Its name, image and link come with the event.

Loveful can't build this flow for you in Mailchimp.

> [!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.