# 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FLuiNmGfCLtYXuGNIHAXh%2Fshopify-activecampaign-post-purchase-campaign-personal-discount.gif?alt=media&#x26;token=eb7135ee-ee0d-4d01-bcda-ddb0f8fac6d3" 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](https://docs.personaldiscount.io/personal-discount-for-shopify/configure-discount).

Save your automation 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%2FUKvTy9wCuIRDN308ibAY%2Fcreate-recover-abandoned-cards-campaign-personal-discount-code-shopify.png?alt=media&#x26;token=8bd40e13-7eec-427c-8fc4-34db28ed2379" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FIWaZdX3BBAEvCQ7XRAD4%2Frecover-abandoned-cards-campaign-personal-discount-code-shopify-active.png?alt=media&#x26;token=0945c0df-3e7b-4b11-a707-3c21eccc1400" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FaOsW964MCgrItkBwv5ao%2Fpersonal-discount-code-shopify-app-activecampaign-purchases-automation.png?alt=media&#x26;token=4c605abe-e3a8-40db-9ff8-6b91ffb40cd6" alt=""><figcaption><p>Select automated campaign type</p></figcaption></figure>

Now **Select a Trigger**.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fj4wkAl862WV3dOfBuhyS%2Fpersonal-discount-code-shopify-app-activecampaign-select-trigger.png?alt=media&#x26;token=b4ebff88-87c4-4ea6-ab86-1430ed394433" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F0VqBujQa5bctATyhierF%2Fpersonal-discount-code-shopify-activecampaign-automation-settings.png?alt=media&#x26;token=806ec746-670f-4376-b021-b81d9bd8bdd4" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FkQQewstuglo6gMoM5Z1M%2Ffollow-up-on-purchases-activecampaign-personal-discount-code-shopify.png?alt=media&#x26;token=b3b71c1f-0205-4310-999c-3c48d19e7ccc" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FboQF8XVQdTCNeVGfoSlj%2Ffollow-up-on-purchases-activecampaign-email-template.png?alt=media&#x26;token=cab3c5c9-f494-477b-9260-76f817a54aa6" alt="Select email template for ActiveCampaign automation"><figcaption><p>Select email template</p></figcaption></figure>

Insert an **HTML Block**.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fpj8qFkqK21HF9vSZlZNA%2Ffollow-up-on-purchases-activecampaing-insert-html-code.png?alt=media&#x26;token=96af9a01-b7e0-439d-b8ad-6e95e8e9172e" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F0SHcZBV8RlY7p1VTLiwr%2Factivecampaign-personal-discount-code-snippet.png?alt=media&#x26;token=070f079d-e53d-4b80-a51e-5edff87373b7" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fgfii3PFarf4oVUrXkY1y%2Ffollow-up-on-purchases-activecampaign-automation-summary.png?alt=media&#x26;token=9668680b-5787-4257-a466-96f93ff03d71" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FcIVGzcOBGzC3Pv8KhOgr%2Fpersonal-discount-code-shopify-activecampaign-select-email-to-send.png?alt=media&#x26;token=f4a12866-b382-480f-a2c9-d88f312b9008" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fp1ikeobQ6yg681d63xK5%2Fpersonal-discount-code-shopify-activecampaign.png?alt=media&#x26;token=2324dfc2-7195-46e2-a8a8-e0f2099c77d0" 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="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FU3WZO3KQoc4Lwx3azhSp%2Fpersonal-discount-code-shopify-encourage-to-buy-more-activecampaign.png?alt=media&#x26;token=5cf215f6-d9ea-4c65-8c96-54e3e3954ab2" alt="Example email from ActiveCampaign automation with Personal Discount code"><figcaption><p>Example email from ActiveCampaign automation with Personal Discount code</p></figcaption></figure>
