We are gonna use the native functionalities of Mailchimp, such as automated campaigns and merge tags. More precisely, the workflow will look as such :
A user subscribe to your Mailchimp list.
Mailchimp notifies Personal Discount.
Personal Discount generates a coupon in your shop and pushes it to Mailchimp, using merge tags.
Mailchimp sends an email, using the merge tag value to display the coupon.
Now, let's dig in the configuration steps!
First of all, we will configure Personal Discount to generate a new coupon for each new subscriber. It will allow us to define the characteristics of the coupons, the discount value or the expiration date for example.
For this, visit your Dashboard (https://app.personaldiscount.io/) and click on the CREATE AUTOMATION button.
The next step is to create an automated welcome campaign in Mailchimp. If you're not sure how to do it, you can follow the excellent tutorial provided by Mailchimp on the subject.
To include the discount code, we use the *|COUPON|* merge tag. Here is an example :
The coupons generated by Personal Discount will often be available a few seconds after a new subscription. Still, to be sure to not send an email without a coupon code, we need to ask Mailchimp to wait for the coupon to arrive.
This can be achieved by editing the campaign to filter by segment :
Then, add a segment rule telling that the Personal Discount merge tag is not blank:
Sending a discount to new subscribers is a good way to welcome potential clients!
We hope this article has been useful. If you have any other question, don't hesitate to contact us at firstname.lastname@example.org