Open your Shopify admin page > Apps > Personal Discount. Click Add automation button. Then select MailerLite as your email service provider and Recover abandoned carts as the campaign type.

Add Personal Discount recover abandoned carts automation with MailerLite animated

In the next step set the details of your automation like discount code pattern, value, expiration date, etc. For more information, take a look at the article on how to configure discount.

When you Save your automation, copy to the clipboard the code snippet from the bottom of the page.

Personal Discount for Shopify copy the code snippet to the clioboard animated

Now switch over to your MailerLite dashboard. Navigate to the Automation section and click the Create workflow button.

Create MailerLite workflow animated

Set up the trigger. Open the E-commerce automation section. Select Abandoned checkout from the Workflow trigger drop-down menu. 

You can specify the time after which an email will be sent from checkout abandonment or decide if you want customers to repeat the workflow every time they abandon a cart. Then uncheck the Repeat workflow for subscribers only once box.

Now add the action that will be performed when a customer enters automation. We want to send an email. Next, type the name and subject of your message. Click Design email and Choose drag & drop editor.

Add email sending to your MailerLite abandoned carts automation animated

In the next step, insert the code snippet from Personal Discount into the email template. Drag and drop a text element and edit it. Switch over to the HTML view. Delete the default code snippet and paste the one from Personal Discount. Save changes. If your template is ready, hit the Done editing button. 

MailerLite insert HTML code snippet into email template animated

And the final step: turn on your automation.

From now, when your customer abandons their cart, they will receive an email with a discount code to complete their purchase after a set amount of time. 

MailerLite abandoned cart automation message with a Shopify discount code