# Shopify Flow

Wishlist adds triggers and an action to Shopify Flow, so you can build automations without code. Turn Flow on in the app under **Notifications → Integrations**.

## Triggers

| Trigger | Fires when |
|---|---|
| Wishlist item added | A customer saves a product. |
| Wishlist item removed | A customer removes a product. |
| Wishlist back in stock | A saved product is available again. |
| Wishlist low stock | A saved product's inventory falls to the low stock threshold or lower. |
| Wishlist price drop | A saved product's price falls by the minimum price drop, compared with the price when it was saved. |
| Wishlist reminder | A customer's list has been idle for the reminder period. |

Each trigger includes the customer, so you can use it in conditions and actions such as sending an email, tagging a customer or creating a discount. Every trigger also has **List ID** and **List name**. The others add:

| Trigger | Product | Extra fields |
|---|---|---|
| Item added, item removed, back in stock | Yes | Variant ID |
| Low stock | Yes | Variant ID, Inventory quantity |
| Price drop | Yes | Variant ID, Price, Previous price, Currency code |
| Reminder | No | Item count |

Triggers fire for signed-in customers only. Guests have no Shopify customer record. The back in stock, low stock, price drop and reminder triggers skip customers who [unsubscribed](https://wishlist.themivo.com/docs/notifications#unsubscribing) from wishlist emails. Price drop, low stock and reminder also skip customers who declined email marketing.

The back in stock, low stock and price drop triggers use the thresholds under **Notifications → Alerts**, but they fire even when the email alert is off. The reminder trigger needs **Wishlist reminder** to be on.

## Action

| Action | Result |
|---|---|
| Check if product is in wishlist | Returns whether a customer has a product in any of their lists. |

Use it as a condition: for example, when an order is created, check whether the customer had the product saved.

## Throttling

To stay under Flow's rate limits, triggers are queued and sent one at a time for each store. During busy periods a trigger can arrive a little after the event.
