Firstly, create an automation in Personal Discount. Navigate to the Shopify admin panel > Apps > Personal Discount > Add automation. Then, select iContact as your Email Service Provider and Welcome new subscribers as the campaign type.

How to set iContact as Email Service Provider in welcome campaign in Personal Discount animated

Now you need to specify your discount details. Set the code pattern, the value, the expiration date, etc. For more information, see the article on how to configure discount

When you set your automation details, Save them and copy the code snippet to the clipboard.

How to copy the Personal Discount code snippet to the clipboard animated

That's all you need to prepare in your Shopify dashboard. Now switch over to your iContact admin panel. Firstly, create your welcome email message. You can use one of the templates, build your message from scratch or use the HTML editor. 

How to create iContact message animated
Let's add your Personal Discount code snippet to your email template. Drag and drop an HTML element, and paste the code snippet. Then hit Preview changes > Apply changes.

How to add an HTML element to the iContact email template animated

When you've finished your template, click on Save and Exit.

Save and exit iContact email template annotated

The next step is creating an iContact welcome automation. Navigate to the Automation from the left-hand sidebar > Create an automation. Then type the name of your automation. Select Subscribe Event as the trigger and hit Continue.

How to create iContact welcome automation animated

Now set the automation trigger. Select your Shopify audience and decide, if you want to include existing subscribers. Then, hit Save.

How to set iContact welcome automation Shopify trigger animated

Add the action that will be performed when a customer enters the automation. Click on the plus sign and Add an action. Then pick the Send message option and Select your email template.

How to set iContact welcome automation action animated

Finally, you can Activate your automation. 

How to activate iContact automation annotated

From now, when someone subscribes to your newsletter, they will receive a welcome message with a discount code. 

iContact welcome message with a discount code