> 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/personal-discount-for-shopify/integrate-personal-discount-with-your-email-service-provider/convertkit/how-to-create-a-welcome-campaign-with-convertkit.md).

# How to create a welcome campaign with ConvertKit

In this tutorial, you will learn, how to create welcome automation using ConvertKit with our Personal Discount.

Navigate to your **Shopify dashboard** > **Apps** > **Personal Discount**. Hit **Add automation**. Select **ConvertKit** as your Email Service Provider and **Welcome new subscribers** as the Campaign Type.

<figure><img src="/files/sdAJ5yHkVBerpnkXnt7a" alt="Add Personal Discount welcome automation with ConvertKit animated"><figcaption><p>Add ConvertKit welcome automation</p></figcaption></figure>

Next, specify the automation details such as the code pattern, value, number of usages, etc. Take a look at the article on [how to configure discount](/personal-discount-for-shopify/configure-discount.md) for more information.

When your automation is set up, save it and copy the code snippet to the clipboard.

<figure><img src="/files/dLxWyutH3xn610a9HBYl" alt="Copy the Personal Discount code snippet for ConvertKit welcome automation animated"><figcaption><p>Copy the code snippet to the clipboard</p></figcaption></figure>

Now switch over to your ConvertKit dashboard. Start by preparing an email template. Click on **Send** > **Email Templates**. Then hit **New email template**. You can choose one of the pre-built ones or create your own using HTML code.

<figure><img src="/files/4znMidoFvoIHuY37RvaL" alt="Create ConvertKit new email template animated"><figcaption><p>Create ConvertKit new email template</p></figcaption></figure>

Prepare your template and **Save** it. Now let's create an email sequence. Click on **Send** > **Sequences**. Hit **New sequence** and select your email template.&#x20;

<figure><img src="/files/mTVTNAnR8jJQmrJ9Jr6Z" alt="Create ConvertKit email sequence animated"><figcaption><p>Create ConvertKit email sequence</p></figcaption></figure>

Now paste the code snippet from Personal Discount into your email template. Click on the **plus sign** and select **HTML Block** from the dropped-down menu. Hit **Edit** and paste the code snippet. **Save** element and **Publish changes**.&#x20;

<figure><img src="/files/jVHgNqFyx595AhNSLr9a" alt="How to insert an HTML code snippet into ConvertKit email template animated"><figcaption><p>Insert an HTML code snippet into ConvertKit email template</p></figcaption></figure>

Finally, let's create welcome automation using elements we have prepared in the previous steps. Navigate to **Automate** > **Visual Automations** > **New automation** > **Start from scratch**.&#x20;

<figure><img src="/files/ULir3uKSTKuucgZx8Y1J" alt="How to create ConvertKit automation from scratch animated"><figcaption><p>ConvertKit: Create automation from scratch</p></figcaption></figure>

You can rename your automation. Now set the trigger: when a subscriber is added to the list connected with your Shopify store. Hit **Add event** to confirm.

<figure><img src="/files/L1USyKJpzJi6i59y9AWl" alt="How to set welcome automation trigger in ConvertKit animated"><figcaption><p>Select welcome automation trigger</p></figcaption></figure>

Now set the action that will be performed when a subscriber joins the newsletter. Click on the plus sign. Select the **Email sequence** from the **Action** section. Now pick the sequence that you prepared earlier. Hit **Add Action** to confirm.

<figure><img src="/files/u0dO01jZsrmYzOGVnSt1" alt="How to add an action to the ConvertKit welcome email automation animated"><figcaption><p>Add action to the ConvertKit welcome automation</p></figcaption></figure>

It's high time to activate our automation. Hit **Live** at the right top.&#x20;

<figure><img src="/files/cBBXSsPYLFpWBEHjf623" alt="ConvertKit: activate visual automation animated"><figcaption><p>Activate ConvertKit visual automation</p></figcaption></figure>

Voilà! From now your new subscribers will receive a message with a discount code when they join your newsletter.

<figure><img src="/files/u0DF4dixR6LdcceyZ8qR" alt="Welcome email from ConvertKit automation with a Shopify Personal Discount code"><figcaption><p>ConvertKit welcome email with Shopify discount code</p></figcaption></figure>
