# Abandoned Checkouts

> See shoppers who left checkout without ordering, and win them back with a recovery email, WhatsApp, and a link that brings their cart back.

An abandoned checkout is a store cart where the shopper gave their email or phone at checkout and then left without ordering. Workstation finds these carts, emails the shopper a link that brings their cart back, and fires a workflow trigger so you can follow up on WhatsApp too.

Open **Commerce → Abandoned checkouts**, under **Orders**. You need the `orders.view` permission.

## What counts as abandoned

A cart counts as an abandoned checkout when all of these are true:

- it was made on your online store and has items;
- the shopper typed an email or phone number at checkout;
- it never became an order (an unpaid card order that expired with **Checkout expired** counts as no order);
- nothing changed on it for the time set in **Count as abandoned after** (1 hour by default).

Carts that have been quiet for more than 72 hours are never picked up, so shoppers don't get surprise emails about old carts.

## The abandoned checkouts list

The strip at the top shows the **Last 30 days**: how many checkouts were **Abandoned**, how many were **Recovered** (with the rate), and the **Recovered sales**.

Use the **All**, **Not recovered**, and **Recovered** tabs, and search by email, phone, or name. The list follows the store picked in the site switcher at the top of the Commerce workspace.

| Column | Shows |
|---|---|
| **Abandoned** | When the checkout was abandoned |
| **Customer** | The shopper's name, or **Guest** |
| **Items** and **Total** | What was in the cart |
| **Email status** | **Scheduled**, **Sent**, or **Not sent** with the reason, such as **Didn't agree to marketing**, **Unsubscribed**, **Ordered first**, or **Email switched off** |
| **Recovery status** | **Recovered** (via the recovery link, or they came back on their own), **Link opened**, or **Not recovered** |
| **Store** | The store the cart belongs to |

A checkout counts as recovered when it becomes an order after it was marked abandoned.

Each row's **Actions** menu has:

- **Copy recovery link**
- **Send on WhatsApp**, which opens WhatsApp with a ready message and the link
- **Send recovery email**
- **View order** (for recovered checkouts) and **View customer**

## Recovery settings

Click **Recovery settings**, or open **Commerce → Settings → Customer messages** and find the **Abandoned checkouts** card.

| Setting | Options |
|---|---|
| **Send a recovery email** | On by default |
| **Count as abandoned after** | 10 minutes, 30 minutes, 1 hour, 2 hours, or 4 hours |
| **Send the email after** | 1, 6, 10 (recommended), or 24 hours after the shopper's last change |
| **Send to** | **Anyone who abandons checkout** (the default), or **Only shoppers who agreed to marketing** |

Pick **Only shoppers who agreed to marketing** if your market treats recovery emails as marketing.

### The recovery email

The email uses your store's logo and button color, lists what's in the cart, and has a **Complete your order** button. It's sent in English or Arabic, once per cart. It's never sent if the shopper has ordered, emptied the cart, or unsubscribed. An email that couldn't go out within 24 hours of its time is dropped instead of being sent late.

### The recovery link

The link opens the shopper's cart on their device and takes them to checkout with their details filled in. It works for 30 days. Card checkouts that expired are reopened.

## Follow up on WhatsApp

The recovery email is built in. For WhatsApp, use a workflow:

1. Open [Workflows](https://workstation.repzo.com/docs/administration/workflows) and create a workflow with the **Checkout Abandoned** trigger. The trigger runs on the contact, which is found or created from the checkout's email or phone.
2. Add a **Send WhatsApp Template** step.
3. Use `{{event.checkoutRecoveryUrl}}` for the link.

The trigger also gives you the items total, currency, number of items, the items as text, the shopper's email and phone, whether they agreed to marketing, and the store name. It fires once per cart, when the checkout is marked abandoned.

When the shopper replies to the WhatsApp message, the reply lands in your [Inbox](https://workstation.repzo.com/docs/operations/inbox). An [AI agent](https://workstation.repzo.com/docs/operations/ai-agents) deployed on that inbox can answer with the recovery link from the conversation.

> **From the CLI**
>
> The recovery email settings can also be changed from the CLI with `repzo store abandoned-checkouts get|set`. This requires the next CLI release. See [Build a store from the CLI](https://workstation.repzo.com/docs/developers/online-store/cli#store-settings).

## Related pages

- [Checkout & Payments](https://workstation.repzo.com/docs/online-store/checkout-and-payments)
- [Shipping & Delivery](https://workstation.repzo.com/docs/online-store/shipping-and-delivery#customer-emails)
- [Workflows](https://workstation.repzo.com/docs/administration/workflows)
- [Orders](https://workstation.repzo.com/docs/commerce/orders)
