> For the complete documentation index, see [llms.txt](https://docs.personaldiscount.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.personaldiscount.io/discounteo-for-shopify/integrate-discounteo-with-your-email-service-provider/icontact/increase-your-newsletter-audience-using-the-icontact-welcome-campaign-with-a-discount-code.md).

# Increase your newsletter audience using the iContact welcome campaign with a discount code

One of the best ways to increase your newsletter audience is to offer them a discount for subscribing. How to create a welcome campaign with a discount code using iContact and Discounteo?

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

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FNDOErlnkDqn0IkJjET9x%2Ficontact-shopify-personal-discount-code-create-automation-animated.gif?alt=media&amp;token=0dfa0472-b371-46fb-a9aa-e4a5bd37a3c0" alt="How to set iContact as the Email Service Provider for a welcome campaign in Discounteo"><figcaption><p>Create a Discounteo automation with iContact</p></figcaption></figure>

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](/discounteo-for-shopify/configure-discount.md).&#x20;

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

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FeJMnjCUbaWp2VFPS4gEH%2Ficontact-shopify-personal-discount-code-snippet-copy-animated.gif?alt=media&amp;token=d3eea4b5-4b64-4ef8-9783-41f219d45b8b" alt="How to copy the Personal Discount code snippet to the clipboard"><figcaption><p>Copy the Discounteo code snippet</p></figcaption></figure>

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.&#x20;

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FgdZzZX8HMvPe5SU1tnyi%2Ficontact-create-message-animated.gif?alt=media&amp;token=43cad265-040b-4bf6-a77d-d8d0437a5836" alt="How to create a message in iContact"><figcaption><p>iContact: Create a new message</p></figcaption></figure>

Let's add your Discounteo code snippet to your email template. Drag and drop an **HTML element**, and paste the code snippet. Then hit **Preview changes** > **Apply changes**.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FTOyAI1iElN26GpLyOmvt%2Ficontact-insert-personal-discount-code-snippet-into-email-template-animated.gif?alt=media&amp;token=5ef45ec9-9a4e-4de5-b501-f87409d7f925" alt="How to add an HTML element to an iContact email template"><figcaption><p>iContact: Add an HTML element to your email template</p></figcaption></figure>

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

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F494DqfrWMMcqTdzuztTz%2Ficontact-save-email-template-and-exit-annotated.png?alt=media&amp;token=e92260c9-e7b3-4033-a7d3-efa323fd531a" alt="Save and exit the iContact email template"><figcaption><p>Save the iContact email template</p></figcaption></figure>

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**.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FeLkSIzaYmTI7Egm3ojkf%2Ficontact-create-welcome-automation-animated.gif?alt=media&amp;token=6398d4ed-19f1-4998-ade7-c785ca5b780d" alt="How to create an iContact welcome automation"><figcaption><p>Create an iContact welcome automation</p></figcaption></figure>

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

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FXnbjjtr2GM99ZMSa8FCa%2Ficontact-set-welcome-automation-trigger-animated.gif?alt=media&amp;token=0a11ef2c-2fb6-4a83-ad6b-2c5c0187a674" alt="How to set the Shopify trigger for an iContact welcome automation"><figcaption><p>How to set up a Shopify trigger for an iContact welcome automation</p></figcaption></figure>

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.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FXnbjjtr2GM99ZMSa8FCa%2Ficontact-set-welcome-automation-trigger-animated.gif?alt=media&amp;token=0a11ef2c-2fb6-4a83-ad6b-2c5c0187a674" alt="How to set the action for an iContact welcome automation"><figcaption><p>Set an action in the iContact welcome automation</p></figcaption></figure>

Finally, you can Activate your automation.&#x20;

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FKMzsqgOzcs5MDUs1Mv3P%2Ficontact-welcome-automation-add-an-action-animated.gif?alt=media&amp;token=f9576b7b-8f55-409d-b96b-434a2daf46f4" alt="How to activate an iContact automation"><figcaption><p>Activate the iContact automation</p></figcaption></figure>

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

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fi5000GtDdcO4GVkEOUHd%2Ficontact-shopify-personal-discount-code-welcome-message.png?alt=media&amp;token=6f972450-d7de-40e2-8aec-3554738a8ba0" alt="iContact welcome message with a discount code"><figcaption><p>iContact welcome message with a discount code</p></figcaption></figure>
