> For the complete documentation index, see [llms.txt](https://smsgem.gitbook.io/smsgem-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smsgem.gitbook.io/smsgem-document/main-features/abandoned-cart.md).

# Abandoned cart

## How to save your lost sale in abandoned cart

Go to **"Abandoned checkout recovery"**

<figure><img src="/files/PKsSkJ4l9c8latuZ1raB" alt=""><figcaption></figcaption></figure>

You can set up auto campaign by [SMS ](#a.-abandoned-recovery-flow)or [Whatsapp ](/smsgem-document/main-features/abandoned-cart/whatsapp-flow.md)to save all your lost sales from abandoned campaigns.

## <mark style="color:blue;">SMS Flow</mark>

You can [create new flow](/smsgem-document/main-features/abandoned-cart/create-new-flow.md) or use [our template ](https://smsgem.gitbook.io/smsgem-document/main-features/pages/9UogshNYK6u6PFdm2LnU#2.2.-select-your-goal)from onboarding.

{% hint style="info" %} <mark style="color:blue;">**SMSGem help:**</mark> The area you want to send SMS is auto detected when you select area [in onboarding.](https://smsgem.gitbook.io/smsgem-document/main-features/pages/9UogshNYK6u6PFdm2LnU#2.1.-select-your-country) If you want to change this, click [Create new flow](/smsgem-document/main-features/abandoned-cart/create-new-flow.md) and select your preferred area.
{% endhint %}

### Step 1: Click ![](/files/1baHbWRn5xKVH1KX3zsm)to edit your campaigns.

<figure><img src="/files/cLB9jRwgAcOzEPZrd8hK" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/vBI9rAyVU1V5OhZpavlD" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Q3sg0msepuE2wamfp4ls" alt=""><figcaption><p>This prevents you from any bite of TCPA law applied in US and CA.</p></figcaption></figure>

### Step 2: Edit your campaign

**a. Set up the trigger**

Trigger is an action activates your SMS flow.

With Abandoned cart campaign, your SMS flow starts when a customer add products to cart and leave the checkout page.

<figure><img src="/files/EWuy3TIUSJqVDcxJLXAC" alt=""><figcaption></figcaption></figure>

* **Segment**: You can set up which groups of customers you want to send Abandoned Cart SMS:
  * All customers
  * Country: SMSGem will only send SMS to customers in the country you select
  * Specific customers: SMSGem will on ly send SMS to customers you select
* **Minimum cart value**: is the minimum number of products in the cart that customer abandoned.&#x20;

  *For example: You only want to send SMS to customers who abandoned 3 products in cart, set Minimum cart value equals to 3. SMSGem will send SMS to customers who abandoned 3 or more than 3 in their cart.*

**b. Set up your content & delay time**

<figure><img src="/files/oYLWLyaVTgxdQq3KFixa" alt=""><figcaption></figcaption></figure>

* **Delay time**: Set up delay time to send SMS after trigger is activated
* **Content SMS:** Personalize your SMS to the right segment with our lists of[ variants. ](/smsgem-document/main-features/abandoned-cart.md#variant-is-the-information-of-your-customers-or-orders-that-changes-along-with-your-customers-orders)

You can click "preview' to see how your SMS looks like on phone.

<figure><img src="/files/mIcYb0IZ3uZNuUcR69d0" alt=""><figcaption></figcaption></figure>

## Step 3: Save and turn on Flow

Turn on ![](/files/1goZ9y82BRlQMtUTPMOa)to start sending your campaigns. Remember to click "Save Flow".&#x20;

#### Variant: is the information of your customers or orders that changes along with your customers/orders.

Variants are synced from your Shopify Customers information.

List of variants:

1. Customer
   * Last name
   * First name
   * Site name: Your store name (which is originated from shopify). If my store is FLOWERA.myshopify.com -> my store name is "FLOWERA"&#x20;
   * Phone
   * Country
   * City
   * Address
2. Order
   * Abandoned checkout URL
   * Total price
   * Created order date
