Let's start with creating a discount automation. Navigate to your Shopify dashboard > Apps > Personal Discount. Then click Add automation button, select Campaign Monitor as your Email Service Provider and the Campaign Type is Welcome new subscribers.

Animated: Add welcome new subscribers campaign in Personal Discount using Campaign Monitor

Specify the details of your automation. Take a look at the article on how to configure a discount if you want to learn more.

Hit Save and copy the code snippet to the clipboard when you set it up. 

Copy the automation code snippet from Personal Discount animated

In the Campaign Monitor email template builder, there is no option to insert an HTML element. The only way to add the Personal Discount code snippet is to use an external tool for creating email templates like BEE Pro. You can select a pre-built template and modify it or create your own from scratch.

BEE Pro email templates library

Below you can see, how to add the Personal Discount code snippet to your email template.

How to add an HTML element to an email template in BEE Pro animated

Now export the template as an HTML doc. 

BEE Pro - how to export an HTML email animated

Switch over to your Campaign Monitor dashboard. Navigate to Automations and hit Create an automation button. Select Welcome journey. In the next step make sure that you have selected a subscribers list that is connected with your Shopify store. Click Continue

Create a Welcome automation i Campaign Monitor animated

Now import your email template to the automation. Scroll down the left section and click Change template, next Import HTML at the bottom.

It's high time we activated our automation. 

How to activate Campaign Monitor welcome automation aniamated

When your customer joins the newsletter, they will receive an email with a discount code.

Welcome new subscribers email with a Shopify discount code