Skip to content

Instantly share code, notes, and snippets.

@leadbi
Created August 8, 2021 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leadbi/fd053f5f09ab8319b90a39602fb766d1 to your computer and use it in GitHub Desktop.
Save leadbi/fd053f5f09ab8319b90a39602fb766d1 to your computer and use it in GitHub Desktop.
Cart abandonment workflow

Cart abandonment workflow

LeadBI Automations allow you to send reminder to customers about open carts.

Requirements

  1. Your website needs to use the leadbi woocommerce integration or other custom ecommerce integration.
  2. The customer that adds products to cart needs to be identified by email.

How does it work?

A cart is created when a product is added using the Shop.Cart.addProduct(product, callback) call.

You need to create a cart new-cart automation, in the new cart automation wait for the order (using wait) for 1 day for example. If no order will be issue for the new cart, the "No Action" path will be executed.

In the "No Action" branch you can send an email with the product info to remind the customer to complete the order.

The following placeholders are available:

  • [[product_id]]
  • [[product_name]]
  • [[product_url]]
  • [[product_img]]
  • [[product_price]]
  • [[product_promo_price]]
  • [[product_available_inventory]]
  • [[product_quantity]]
  • [[product_category_id]]
  • [[product_category_name]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment