> For the complete documentation index, see [llms.txt](https://help.dollarlabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.dollarlabs.io/dollarback-store-credit/earning-cashback-programs/win-back-abandoned-checkouts-with-cashback.md).

# Win back abandoned checkouts with cashback

Shoppers who reach checkout and leave are your warmest lost sales. This page shows three ways to pull them back with store credit, all built with Shopify Flow and DollarBack:

1. **A bonus cashback program** for shoppers who finish their order within a time window, for stores without loyalty tiers.
2. **A Flow deposit after the order**, which works with tiers and with any cashback trigger.
3. **Credit in the wallet straight away**, as soon as the shopper leaves checkout, separate from your cashback programs.

The first two give the bonus only when the shopper comes back and orders, so you pay only for recovered sales. The third pays up front, which makes a stronger message ("you have $5 waiting") but costs credit even for shoppers who return just to spend it.

## Which method fits your store

|                                                         | Method 1: bonus program                                                                                             | Method 2: Flow deposit after the order                                          | Method 3: credit at abandonment                                    |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| Loyalty tiers on                                        | Doesn't work: tiers decide who earns, so the program's customer tags are ignored                                    | Works                                                                           | Works                                                              |
| **Give cashback when** is Order Paid or Order Fulfilled | Risky: the bonus is lost if the tag is gone by the time the order triggers                                          | Works                                                                           | Works                                                              |
| How the bonus combines with normal cashback             | Each line earns from whichever program pays more: a customer on 5% who qualifies for a 10% bonus earns 10%, not 15% | Added on top of normal cashback: to give 10% in total on a 5% store, deposit 5% | Added on top: the $5 is separate from any cashback the order earns |
| Holding period and refunds                              | Follows your normal holding period, and refunds reduce the bonus like any cashback                                  | Credit is spendable at once, and a refund doesn't take the bonus back           | Credit is spendable at once until it expires                       |
| DollarBack plan                                         | Any plan with purchase cashback                                                                                     | Pro plan and above (uses the DollarBack Flow action)                            | Pro plan and above (uses the DollarBack Flow action)               |

Pick Method 1 if tiers are off and you give cashback on Order Created. Pick Method 2 if you use tiers, award cashback on payment or fulfillment, or want the bonus on top of normal cashback. Add Method 3 when you want an up-front incentive, for example for a holiday campaign. You can run Method 3 alongside either of the others.

## Prerequisites

* The **Shopify Flow** app installed on your store.
* For Methods 2 and 3: a DollarBack plan that includes **Klaviyo, Omnisend, Mailchimp and Flow integrations** (Pro plan and above), and the Flow integration enabled on **DollarBack admin → Integrations → Shopify Flow**. See [Shopify Flow: triggers and actions](https://help.dollarlabs.io/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions.md).
* A way to tell shoppers about the offer, usually your abandoned checkout email. See [Tell shoppers about the offer](#tell-shoppers-about-the-offer).

## How it works

Every method starts with the same Shopify Flow trigger: **Customer abandons checkout**. Shopify counts a checkout as abandoned when the shopper has entered an email address and doesn't complete the checkout within about ten minutes. In our tests, the workflow started about 15 minutes after the shopper left checkout.

Methods 1 and 2 use a customer tag as a time-limited pass:

1. The shopper leaves checkout. Flow adds the tag `abandoned-checkout-bonus` to the customer.
2. Flow waits 24 hours (or the window you choose), then removes the tag.
3. If the customer orders while they carry the tag, they get the bonus: from a DollarBack program that only pays tagged customers (Method 1), or from a Flow deposit (Method 2).
4. After the order, Flow removes the tag, so the bonus is paid once.

Method 3 skips the tag window: Flow deposits credit with an expiry as soon as the shopper leaves, and tags the customer so it happens only once.

## Method 1: a bonus cashback program (stores without tiers)

### Step 1: Create the bonus program

1. Open **DollarBack admin → Home**, select the **Cashback** tab, click **Manage configurations** and add a **Purchase reward**. See [Set up purchase cashback](https://help.dollarlabs.io/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback.md).
2. Name it, for example `Abandoned checkout bonus`, and set the reward, for example **10%** on **All products**.
3. Under **Eligibility**, in **Include customer tags**, add `abandoned-checkout-bonus`.
4. Save the program and make sure it's enabled.

{% hint style="info" %}
The tag picker lists tags that already exist on at least one customer. If `abandoned-checkout-bonus` doesn't show up, add it to a test customer in Shopify admin first, pick it in DollarBack, then remove it from the test customer.
{% endhint %}

Your other purchase programs keep running. On a tagged customer's order, each line earns from whichever program pays more, so the bonus program wins wherever it's higher. See [How cashback is calculated](https://help.dollarlabs.io/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated.md).

### Step 2: Tag shoppers who abandon checkout

1. In Shopify Flow, click **Create workflow**.
2. **Select a trigger** → **Customer abandons checkout**.
3. Add an action → **Add customer tags** → enter `abandoned-checkout-bonus`.
4. Add a **Wait** step → `24` **hours**. This is the shopper's window to complete the order.
5. Add an action → **Remove customer tags** → enter `abandoned-checkout-bonus`.
6. Name the workflow, for example `Abandoned checkout bonus: tag`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-a70f64fa69b661e57a645393c27ae363b371c006%2Fdb-ac-flow-tag.png?alt=media" alt="A Shopify Flow workflow with four steps: the trigger Customer abandons checkout, Add customer tags abandoned-checkout-bonus, Wait for 24 hours, and Remove customer tags abandoned-checkout-bonus." width="360"><figcaption><p>The tag workflow. The Wait step sets how long the shopper has to come back and order.</p></figcaption></figure>

### Step 3: Remove the tag after the order

1. Create another workflow with the trigger **Order created**.
2. Add a **Condition**: pick **order / customer / tags**, then **Tags item** → **Equal to** → `abandoned-checkout-bonus`.
3. On the "then" branch, add a **Wait** step → `10` **minutes**.
4. Add an action → **Remove customer tags** → enter `abandoned-checkout-bonus`.
5. Name it, for example `Abandoned checkout bonus: clear after order`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-945304c751b99658bbadb913b6c796dbf8662731%2Fdb-ac-flow-clear.png?alt=media" alt="A Shopify Flow workflow: the trigger Order created, a Condition that tags is equal to abandoned-checkout-bonus, then on the True branch Wait for 10 minutes and Remove customer tags abandoned-checkout-bonus." width="460"><figcaption><p>The clear-after-order workflow. The 10-minute wait gives DollarBack time to read the tag first.</p></figcaption></figure>

{% hint style="warning" %}
**Keep the wait before removing the tag.** DollarBack reads the customer's tags when it processes the order, which usually takes a few seconds. If Flow removes the tag at the same moment, the order can miss the bonus.
{% endhint %}

### When Method 1 doesn't fit

* **Loyalty tiers are on.** While tiers are active, store-credit purchase programs ignore **Include customer tags** ([Link cashback programs to tiers](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers.md)). Linking the bonus program to a tier would give it to everyone in that tier. Use Method 2.
* **Give cashback when is Order Fulfilled.** DollarBack reads the tags at fulfillment, which can be days after the order, and by then the Step 3 workflow has removed the tag. With **Order Paid**, orders paid at checkout are fine, but an order paid later (for example by bank transfer) can miss the bonus. Use Method 2 for these stores. See [Trigger & Timing](https://help.dollarlabs.io/dollarback-store-credit/settings/trigger-and-timing.md).

## Method 2: a Flow deposit after the order (works with tiers)

Method 2 keeps your cashback programs exactly as they are and pays the bonus from Flow.

### Step 1: Tag shoppers who abandon checkout

Build the same tag workflow as [Method 1, Step 2](#step-2-tag-shoppers-who-abandon-checkout): **Customer abandons checkout** → **Add customer tags** → **Wait** 24 hours → **Remove customer tags**.

### Step 2: Deposit the bonus when they order

1. Create a workflow with the trigger **Order created**.
2. Add a **Condition**: **order / customer / tags** → **Tags item** → **Equal to** → `abandoned-checkout-bonus`.
3. On the "then" branch, add an action → **Deposit Store Credit v2** (under DollarBack). **Customer** is already filled in with the order's customer.
4. Fill in the fields:
   * **Amount**: `{{ order.currentSubtotalPriceSet.shopMoney.amount | times: 0.10 | round: 2 }}` for 10% of the order subtotal after discounts, before shipping and tax. Change `0.10` to your rate. Flow shows no preview, so check the first run.
   * **Currency**: your store currency code, for example `USD`.
   * **Offer Title**: `Abandoned checkout bonus`. It labels the deposit in your credit logs.
   * **Expires After** or **Expires At**: optional.
   * **Notify Customer**: turn it on to send the **Store Credit Credited** email.
5. Add an action → **Remove customer tags** → enter `abandoned-checkout-bonus`. The deposit has already used the tag, so this step needs no wait.
6. Name it, for example `Abandoned checkout bonus: deposit`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-e337b65c8e61a3ae56155e562e7ca6f01cc5047d%2Fdb-ac-flow-deposit-panel.png?alt=media" alt="The Deposit Store Credit v2 action panel in Shopify Flow. Customer is order.customer.id, Amount is the Liquid expression order.currentSubtotalPriceSet.shopMoney.amount times 0.10 rounded to 2, Currency is USD, Expires After is 0, Expires At is empty, Offer Title is Abandoned checkout bonus, and Notify Customer is unticked." width="560"><figcaption><p>Deposit Store Credit v2 with a Liquid amount of 10% of the order subtotal. Customer is filled in from the order.</p></figcaption></figure>

What to expect on a $24 order with a 5% program: the customer gets $1.20 of normal cashback and a $2.40 Flow deposit, $3.60 in total.

{% hint style="info" %}
**The deposit is outside your cashback rules.** Tier multipliers, the holding period, caps and refund clawbacks don't apply to it. If an order with a bonus is refunded, deduct the bonus by hand from the customer page in Shopify admin, or with a **Deduct Store Credit v2** workflow. If you take manual payments, use the Flow trigger **Order paid** instead of **Order created** so unpaid orders get no bonus.
{% endhint %}

## Method 3: credit in the wallet when they leave checkout

Method 3 doesn't involve your cashback programs at all. When a shopper leaves checkout, Flow drops a small amount of credit into their wallet with a short expiry, and your message tells them it's waiting.

1. Create a workflow with the trigger **Customer abandons checkout**.
2. Add a **Condition** so each customer gets the credit once: pick **customer / tags**, change **At least one of** to **None of**, then **Tags item** → **Equal to** → `ac-credit-given`.
3. Optional: click **Add criteria** to add more rules with **AND**, for example a minimum cart value (**abandonment / abandonedCheckoutPayload / subtotalPriceSet / shopMoney / amount** → **Greater than or equal to** → `20`) or returning customers only (**customer / numberOfOrders** → **Greater than or equal to** → `1`).
4. On the "then" branch, add an action → **Deposit Store Credit v2**. **Customer** is already filled in with the shopper. Fill in:
   * **Amount**: a fixed amount, for example `5`.
   * **Currency**: your store currency code.
   * **Expires After**: `2` (days), or **Expires At** with a date such as `2026-12-01` to end the offer with your campaign.
   * **Offer Title**: `Come back bonus`.
   * **Notify Customer**: on, so DollarBack sends the **Store Credit Credited** email.
5. Add an action → **Add customer tags** → enter `ac-credit-given`.
6. Name it, for example `Abandoned checkout credit`, and turn it on.

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-5d44a915a49bb77b3eeefbc4dbcd4f5d8f285c11%2Fdb-ac-flow-upfront-condition.png?alt=media" alt="A Shopify Flow workflow named AC credit upfront with the Condition panel open. The first rule is abandonment.abandonedCheckoutPayload.subtotalPriceSet.shopMoney.amount greater than or equal to 20. AND. The second rule is None of customer / tags, Tags item equal to ac-credit-given. The canvas shows Customer abandons checkout, the Condition, Deposit Store Credit v2 and Add customer tags ac-credit-given." width="720"><figcaption><p>The credit-at-abandonment workflow. The condition pays carts of $20 or more, and only customers who have not had the credit yet.</p></figcaption></figure>

<figure><img src="https://2844543096-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcVBfwy7Yj4tU8TsxkHEr%2Fuploads%2Fgit-blob-0a1ff483c77299d0b7302e85a814e2b0e08f0e17%2Fdb-ac-flow-upfront-deposit-panel.png?alt=media" alt="The Deposit Store Credit v2 panel with Customer customer.id, Amount 5, Currency USD, Expires After 2, Expires At empty, Offer Title Come back bonus, and Notify Customer ticked." width="560"><figcaption><p>A fixed $5 that expires 2 days after the deposit, with the customer email on.</p></figcaption></figure>

{% hint style="warning" %}
**Store credit needs a signed-in checkout.** The credit sits on the customer's account, so the shopper must sign in at checkout with the same email to spend it. Say so in your message. At checkout, **Apply store credit** uses the customer's whole balance, up to the order total, not only the bonus. See [Store credit isn't available at checkout](https://help.dollarlabs.io/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout.md).
{% endhint %}

Because this credit is paid before any order, keep it small, give it a short expiry, and keep the once-per-customer condition. Remove `ac-credit-given` only if you want a customer to qualify again.

## Tell shoppers about the offer

The workflows give the credit. Your message makes shoppers come back for it.

* **Shopify's abandoned checkout email.** Go to **Apps → Messaging → Automations** and open **Abandoned checkout emails by Shopify**. Add a line such as "Complete your order in the next 24 hours and get 10% back in store credit." It already contains the link back to the shopper's checkout.
* **Match the window to the email.** The window starts when Flow tags the customer, not when the email arrives. If your email goes out 10 hours after abandonment, a 24-hour window leaves the shopper 14 hours. Make the **Wait** step longer than the email delay plus the time you promise, or shorten the email delay.
* **Method 3** can rely on DollarBack's **Store Credit Credited** email (**Notify Customer** on). It arrives within a minute of the deposit. Make sure your template mentions the deadline with `{formattedExpiresAt}` or `{remainingDays}`. See [Customize email templates](https://help.dollarlabs.io/dollarback-store-credit/notifications/customize-email-templates.md).

## Before Black Friday and the holidays

* **Build and test the workflows a week ahead.** Abandoned checkouts rise sharply over Black Friday and Cyber Monday, and so does the credit these workflows give out. Test on a staff account before the traffic arrives.
* **Use fixed end dates.** For Method 3, **Expires At** set to the last day of your campaign makes the deadline real. For Methods 1 and 2, turn the workflows off when the campaign ends. Turning a workflow off cancels its runs in progress, so tags stay on customers until you remove them: in Shopify admin, filter customers by the tag and remove it in bulk.
* **Mind the stacking.** A holiday discount code plus your normal cashback plus a bonus adds up. With Method 1, the per-line winner rule keeps it to the higher rate. With Methods 2 and 3, the bonus comes on top.
* **Watch the cost.** Check **Analytics → Activity** to see what the campaign paid out: Method 1 credits show the bonus program's name, and Flow deposits show your Offer Title.

## Verify it works

1. As a test customer, add a product to the cart, go to checkout, enter the email address, and leave without paying.
2. After about 15 to 20 minutes, open the **Customer abandons checkout** workflow's run history in Flow. The run should show every step as succeeded, and the customer page in Shopify admin should show the tag (Methods 1 and 2) or the credit (Method 3).
3. Place an order as that customer. In **DollarBack admin → Analytics → Activity**, check the credit: the bonus program's rate (Method 1) or a deposit with your Offer Title next to the normal cashback (Method 2).
4. After the order, check that the tag is gone from the customer: 10 minutes later for Method 1, at once for Method 2.

## Common issues

* **The workflow never started.** The shopper didn't enter an email address, completed an order soon after (Shopify then treats the checkout as recovered), or Shopify flagged the checkout as bot traffic. Only checkouts that appear under **Orders → Abandoned checkouts** start the trigger.
* **A change to a workflow had no effect.** Editing a workflow that is on saves a draft. Click **Apply changes**, then confirm, before the change takes effect. Check a number field such as **Expires After** after you apply: open the step again and make sure the value stuck.
* **A tagged customer got normal cashback only (Method 1).** Check whether tiers are on, whether the tag was removed before the order processed (the wait in Step 3), and whether **Give cashback when** is Order Fulfilled. Then check the tag spelling on the program.
* **Flow says the deposit succeeded but no credit arrived (Methods 2 and 3).** The DollarBack Flow integration is disabled. See [Shopify Flow: triggers and actions](https://help.dollarlabs.io/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions.md).
* **The bonus amount is wrong (Method 2).** Open the run in Flow and read the **Amount** that the step received. A typo in the Liquid shows here.
* **The customer can't use the credit at checkout.** They're checking out as a guest, in a different currency, or behind a store credit visibility rule. See [Store credit isn't available at checkout](https://help.dollarlabs.io/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout.md).
* **A customer who abandoned twice lost the tag early.** Each abandonment starts its own run. The first run still removes the tag 24 hours after the first abandonment.

## Related articles

* [Shopify Flow: triggers and actions](https://help.dollarlabs.io/dollarback-store-credit/integrations/shopify-flow-triggers-and-actions.md)
* [Set up purchase cashback](https://help.dollarlabs.io/dollarback-store-credit/earning-cashback-programs/set-up-purchase-cashback.md)
* [How cashback is calculated](https://help.dollarlabs.io/dollarback-store-credit/earning-cashback-programs/how-cashback-is-calculated.md)
* [Link cashback programs to tiers](https://help.dollarlabs.io/dollarback-store-credit/loyalty-tiers/link-cashback-programs-to-tiers.md)
* [Trigger & Timing](https://help.dollarlabs.io/dollarback-store-credit/settings/trigger-and-timing.md)
* [Store credit isn't available at checkout](https://help.dollarlabs.io/dollarback-store-credit/troubleshooting-and-faq/store-credit-isnt-available-at-checkout.md)
