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
- With Cron activity, the workflow starts at a defined interval. (By default it's 12 PM every day)
- Set Name activity defines the name of the running instance.
- 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.
- The output will be saved in a variable named AbandonedCarts.
- Then there is an iteratation on all of the abandoned carts with a For Each activity.
- Each shopping cart will be saved in a variable named AbandonedCart.
- 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.
- If the condition was true, another iteration will run on all items in the AbandonedCart variable.
- With the Get Product, activity the details of the product will be fetched and saved in a list named Products.
- 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.
- 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.
- 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.