# How to encourage customers to buy more from your shop with Personal Discount and ActiveCampaign?

Open the Personal Discount app in your **Shopify dashboard**. Then click **Add automation** button. Select **ActiveCampaign** from the Email Service Providers list. Then pick the desired Campaign Type: **Follow up on purchases.**

<figure><img src="/files/ocMqYkmYS1hZEVnEQErc" alt="Create new post-purchase Personal Discount automation with ActiveCampaign animated"><figcaption><p>Create new post-purchase Personal Discount automation with ActiveCampaign</p></figcaption></figure>

In the next step fill out the form with automation details. If you need more information about that, here is a useful article on [how to configure discount in the Personal Discount app](/personal-discount-for-shopify/configure-discount.md).

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

<figure><img src="/files/e0DYX2AcY1HktM3lBUhh" alt="Copy code snippet from Personal Discount annotated"><figcaption><p>Copy code snippet from Personal Discount</p></figcaption></figure>

Now switch out to the **ActiveCampaign dashboard**. Go to **Campaigns** > **Create your campaign**.

<figure><img src="/files/XUcjsGasmp9AuKMBnEQE" alt="Create ActiveCampaign automation annotated"><figcaption><p>Create ActiveCampaign automation</p></figcaption></figure>

Name your campaign and select the proper type – **Automated** in our case.

<figure><img src="/files/p1g20C11ybtxstkl85fr" alt=""><figcaption><p>Select automated campaign type</p></figcaption></figure>

Now **Select a Trigger**.

<figure><img src="/files/g76IVn9nqauSP4ik2QHk" alt="Select trigger for ActiveCampaign automation annotated"><figcaption><p>Select trigger</p></figcaption></figure>

Set **options** for your automation. You can also add advanced filters if you need them.&#x20;

<figure><img src="/files/gBm843pMNQGinVGEt3kt" alt="Set action options for ActiveCampaign automation"><figcaption><p>Set action options</p></figcaption></figure>

Now you will be asked which action to take. We would like to **send an email**.

<figure><img src="/files/YWvmRq7ZAzjmyLo6ZaFE" alt="Select action for your ActiveCampaign automation"><figcaption><p>Select action</p></figcaption></figure>

In the next step create **an email template** if you haven't already. You can use pre-set templates or create your own.&#x20;

<figure><img src="/files/sSve1ArXcwwz0Bhljrf6" alt="Select email template for ActiveCampaign automation"><figcaption><p>Select email template</p></figcaption></figure>

Insert an **HTML Block**.

<figure><img src="/files/8aSV9D9WekOMSdSZ8fXl" alt="Insert HTML block into ActiveCampaign email template annotated"><figcaption><p>Insert HTML block</p></figcaption></figure>

Now paste the Personal Discount code snippet which you've copied to the clipboard.

<figure><img src="/files/5JU4W2wXa0XqMcATeIWj" alt=""><figcaption><p>Paste code snippet from Personal Discount</p></figcaption></figure>

After preparing an email template save all changes. Check campaign summary settings. Then click **Save and exit**.

<figure><img src="/files/YSbeQHp2xpvqzvHdYY84" alt="ActiveCampaign automation summary"><figcaption><p>ActiveCampaign automation summary</p></figcaption></figure>

Now we are coming back to our automation. Select your **email to send**.

<figure><img src="/files/O66NmixRZHj5qoXw7yEv" alt="Select email for ActiveCampaign automation"><figcaption><p>Select email for ActiveCampaign automation</p></figcaption></figure>

Look at your automation graph. If everything is OK, you can **activate** it.

<figure><img src="/files/fxAM1kXaAJdDp5XBOByA" alt="Activate ActiveCampaign automation"><figcaption><p>Activate ActiveCampaign automation</p></figcaption></figure>

Voilà! Now your customers will have an additional incentive to make a next purchase in your store.&#x20;

<figure><img src="/files/eyAKscs5ICfKc95smYuA" alt="Example email from ActiveCampaign automation with Personal Discount code"><figcaption><p>Example email from ActiveCampaign automation with Personal Discount code</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.personaldiscount.io/personal-discount-for-shopify/integrate-personal-discount-with-your-email-service-provider/activecampaign/how-to-encourage-customers-to-buy-more-from-your-shop-with-personal-discount-and-activecampaign.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
