Firstly, navigate to your Shopify dashboard > Apps > Personal Discount. Next, click the Add automation button, select MailerLite as your email service provider, and Welcome new subscribers as a campaign type.

Create Personal Discount automation for Shopify store with MailerLite animated

Then set up your automation details. For more information, take a look at the article on how to configure discount.

Save your automation and copy the code snippet to the clipboard.

Copy Personal Discount code snippet to the clipboard animated

Now you can switch over to your MailerLite admin panel. Hit Automation > Create workflow.

MailerLite create worflow animated

Select the When subscriber joins a group trigger and the group where your Shopify customers are subscribed to.

MailerLite: set subscriber joins a group automation trigger

Now add the action that will be performed when a subscriber joins the group. In this case, it will be to send an email. 

MailerLite add triggered action to your automation animated

Let's prepare our email template. We can use the drag and drop editor for this.

How to select drag and drop editor method for creating email template animated

Now design your message template. Add the code snippet from Personal Discount to your automation. Drag and drop a text element to your message project. Next, edit this one. Switch over to the HTML view. Delete the existing code snippet and paste the one from Personal Discount. In the end, Save changes. When your template is ready, hit Done editing.

Pate the HTML code snippet into MailerLite email template animated
When your automation is ready, it's time to activate it.

Activate MailerLite welcome workflow animated

From now, when someone subscribes to your newsletter, they will receive a welcome email with a discount code for their next purchase.

Welcome message with a discount code using MailerLite and Personal Discount for Shopify annotated