> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-wishlyst.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify Flow

> Run Shopify Flow workflows when a shopper adds a product to a wishlist.

Codebeans Wishlyst adds a **Shopify Flow** trigger, so you can automate anything Flow supports when a shopper saves a product: tag the customer, alert your sales team, add them to a segment, send data to another app.

> [!NOTE]
>
> Requires a plan that includes **Shopify Flow Automations**, and the free [Shopify Flow](https://apps.shopify.com/flow) app installed on your store.

## Trigger: Item Added To Wishlist

Fires when a **logged-in** shopper adds a product to a wishlist. Guest activity does not fire it, because Flow needs a customer.

| Field | Type | Description |
| - | - | - |
| `customer` | Customer | The shopper. Use it to read their email, tags, orders and more. |
| `product` | Product | The product that was added |
| `Product Price` | Decimal | Price of the variant |
| `Product Title` | Text | Product title |
| `Variant Title` | Text | Variant title, or `Default Title` |
| `Wishlist Name` | Text | Name of the wishlists the product was added to, comma-separated |
| `Wishlist Links` | Text | HTML links to those wishlists in the Codebeans Wishlyst admin |

## Ready-made template

**Alert sales team when a shopper adds a high value product to their wishlist**

![The Automations page with the ready-made Flow template (left)](https://mintcdn.com/codebeans-wishlyst/FOg6WqIIKdNxdSzd/images/admin/mcp-and-automations.jpeg?fit=max\&auto=format\&n=FOg6WqIIKdNxdSzd\&q=85\&s=ca6a4550e5ab42cd79c1b254de6a910e)

The Automations page with the ready-made Flow template (left)

**1. Open the template**

In Codebeans Wishlyst, go to **Automations** and click **Open Shopify Flow** on the template card. You can also find it in Flow's template library by searching for "wishlist".

**2. Set the threshold**

The condition checks `Product Price >= 200`. Change it to whatever counts as high value in your store.

**3. Add your team's email**

In the **Send internal email** action, enter the address that should receive the alert. You can edit the subject and body there too. They are not part of the app's email templates.

**4. Turn the workflow on**

The default email looks like this:

```liquid theme={null}
Subject: High-value wishlist add: {{ productTitle }}

{{ customer.displayName | default: "Guest shopper" }} ({{ customer.email }})
added {{ productTitle }} – {{ variantTitle }} ({{ productPrice }}) to their wishlist.

{{ wishlistLinks }}
```

## Workflow ideas

> [accordion] Tag customers who wishlist a product
>
> **Trigger:** Item Added To Wishlist → **Action:** Add customer tags `wishlist-user`. Then build a customer segment or a Shopify Email audience from the tag.

> [accordion] Track interest in a collection
>
> **Condition:** product's collections include "New arrivals" → **Action:** add tag `interested-new-arrivals`.

> [accordion] Notify a Slack channel
>
> **Action:** Slack → Send message, with `Product Title`, `Product Price` and the customer's name.


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