Skip to main content

Abandoned Cart

Purpose

Customers may explore your site and add some products to their shopping cart.
But for different reasons they might forget their shopping.
With this workflow, we can remind them of their left shopping and encourage them to complete their checkout.

Definition

This workflow reminds customers who have left items in their shopping carts with automatic emails after specified period of time.

Procedure

  1. With Cron activity, the workflow starts at a defined interval. (By default it's 12 PM every day)
  2. Set Name activity defines the name of the running instance.
  3. After that, all the abandoned shopping carts will be detected with the Abandoned Carts activity. This activity can find all of the left shopping carts.
  4. The output will be saved in a variable named AbandonedCarts.
  5. Then there is an iteratation on all of the abandoned carts with a For Each activity.
  6. Each shopping cart will be saved in a variable named AbandonedCart.
  7. With If/Else activity the condition will be checked. By default, the condition checks whether 7 days has past from the last activity or not.
  8. If the condition was true, another iteration will run on all items in the AbandonedCart variable.
  9. With the Get Product, activity the details of the product will be fetched and saved in a list named Products.
  10. After the iteration is done, the store info will be fetched with the Get Store Info activity. We get the store information to use in our marketing email.
  11. Before sending the email, a unique coupon code will be generated with Create a Discount activity. This coupon code is only applied to products in the shopping cart of the customer. The code will generate randomly and the discount percentage is 10. You can change all of these configs in the activity.
  12. In the end, with Send Email activity an email will be sent to the customer to remind him of his left shopping. The email content has shopping cart details that are saved in the AbandonedCart variable. It shows the customer what was in his shopping cart and encourages him to complete his shopping with the dedicated coupon code.

Abandoned Cart