# Send unique coupons from Mailchimp to customers who bought a specific product

One of the most common (and one of the most successful!) ways to do so is awarding your customer base with a discount for future shopping. It can help your business with a cross-selling as well - offering a special offer for products related to what’s been bought already.

Learn how to generate unique discounts for a customer who just made a purchase of a specific item from your shop with us!

How does it work?

1. Personal Discount generates a discount code after every purchase of a  specific product.
2. Mailchimp sends a follow-up message with a discount code -  only to customers who had purchased a specific (chosen) product from a store

**How to do it?**

Configuring Personal Discount

For starters, you will need to configure Personal Discount to generate coupons for New Order.

1. Start from visiting your Dashboard and clicking on the **Add automation** button;
2. Connect to your Mailchimp account;
3. Select **New Order** as a trigger to generate discounts;
4. Now, you can set up the discount settings according to your needs.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F7tIoPdh3Vi8Qwy0KD1Dk%2Fnew-order-automation-personal-discount-with-mailchimp.png?alt=media&#x26;token=f5ea743f-6242-452b-b91b-bd776628bd19" alt="Personal Discount settings in automation for customers who bought a specific product"><figcaption><p>Personal Discount settings in automation for customers who bought a specific product</p></figcaption></figure>

#### Configuring Mailchimp

First of all, to enable e-commerce campaigns on MailChimp, you will need to install [Mailchimp: Email Marketing](https://apps.shopify.com/mailchimp) app.

The next step is creating a Mailchimp campaign - to do so, you will need to visit your Mailchimp dashboard, open the **Automations** section and hit **Build from scratch**. Enter your automation name and click on **Start building**.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fh32Am4LTuVOF1uQ1TbCW%2Fmailchimp-add-new-customer-journey.gif?alt=media&#x26;token=4ce68338-ad55-4341-b92a-2a11ba9a33d6" alt="How to add new Mailchimp Customer Journey animated"><figcaption><p>Add new Mailchimp Customer Journey</p></figcaption></figure>

Now **Choose A Starting point**. We want a customer to enter the automation when they **Buys a specific product**. Then select this product from the list. &#x20;

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2Fo5zDsU3qQfl5s73NnwI6%2Fmailchimp-choose-a-starting-point-for-customer-buys-specific-product-campaign.gif?alt=media&#x26;token=ec26a017-7f37-4409-9085-d7c71b51ab08" alt="How to set a starting point for Mailchimp automation animated"><figcaption><p>Set a starting point for Mailchimp automation</p></figcaption></figure>

The flow trigger is set up, so now **Add a journey point**. Select the **Send email** action from the available options and choose a method how to prepare a message template.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FCZQp6RRriT6qiqk3PS8G%2Fmailchimp-add-journey-point-to-your-automation.gif?alt=media&#x26;token=a4755d6d-6fb7-4715-b495-15b1875589ce" alt="Configure a journey point in Mailchimp automation animated"><figcaption><p>Configure a journey point in Mailchimp automation</p></figcaption></figure>

While fine-tuning the email template, insert Shopify Discount Code merge tag into one of the merge text elements. It can be modified in the same way as other text. **Save & Close** the text element and if your template is ready, hit **Save and Return to Journey**.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FJam66LNsjKmEtNjHjG6W%2Finsert-discount-code-into-email-template.gif?alt=media&#x26;token=c5859af5-a747-4b0d-8ad1-69505fe128f6" alt="Insert a discount code merge tag into Mailchimp email template animated"><figcaption><p>Insert the discount code merge tag into Mailchimp email template</p></figcaption></figure>

When the automation is ready, it's high time to activate it. You can also decide if contacts should repeat Journey by checking a proper box. Hit **Continue** and **Turn On**. Then the Journey will appear on the automations list with the status Active.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2FA9fk7ZsUQqWdC3NZADa0%2Fmailchimp-turn-on-customer-journey-automation.gif?alt=media&#x26;token=7367149f-4dcc-4fd4-8dbe-644b6f18cad9" alt="How to activate Mailchimp automation annotated animated"><figcaption><p>Activate Mailchimp automation</p></figcaption></figure>

From now on, your customers will receive a follow-up message with a discount code when they buy a specific product.

<figure><img src="https://3731721370-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZdVZovthV0SPlgxS6Y%2Fuploads%2F3YVa8sfCuEjN4iy2r40y%2Fmailchimp-email-with-a-discount-code-for-buying-specific-product.png?alt=media&#x26;token=376e1089-081f-4679-b4d6-c4745270df9c" alt="Example message with a discount code for the purchase of a specific product annotated"><figcaption><p>Example message with a discount code for the purchase of a specific product</p></figcaption></figure>
