# Shopify order & abandoned-cart messages

> Send WhatsApp updates when an order or cart event happens.

_Source: https://hexafloww.com/docs/automations/shopify-messages_

---

With Shopify connected, order and cart events from your store can trigger WhatsApp (or email) messages automatically.

> [!TIP]
> **Before you start**
> Connect Shopify in [Connectors](https://hexafloww.com/docs/connectors/form-and-crm-connectors.md), with order sync enabled.

## Abandoned cart recovery

- **Trigger: Shopify cart abandoned.** Set how long to wait after the cart was last touched (default 30 minutes).
- **Step: Send WhatsApp** — a template reminding them, using the cart total and a checkout link. These are available as variables (`shopify_cart_total`, `shopify_cart_checkout_url`, and similar).

The cart is cleared automatically the moment the customer completes checkout, so a recovered cart won't get a reminder.

## Proactive order status

Triggers fire from Shopify webhooks: **Shopify order placed**, **shipped**, **delivered**, **cancelled**. Each carries order and tracking details you can map into a message (`shopify_order_status`, `shopify_tracking_number`, `shopify_tracking_url`).

> [!NOTE]
> Fulfilment events are matched back to the customer via their most recent order. If someone places a second order before the first ships, a late update on the first order may not fire — it fails safely (never messages about the wrong order).

## Reactive "where's my order?"

Separately from automations: if a customer messages your WhatsApp number with an order number, HexaFloww looks the order up live and replies with its status — but **only** if the sender's WhatsApp number matches the phone on that order. No match falls through to normal handling.
