Connect privy generated coupon to mailchimp email campaign

New Member
5 0 0

I have generated a coupon with privy and gives me a {{ signup.coupon_code }} code snippet to add to my mailing list. 


Unfortunately, this doesn't work with mailchimp. Any idea how to integrate the above code to mailchimp?

Reply 1 (1)
3 0 0

Privy needs to talk to Mailchimp in general first via a signup integration before the signup codes it generates can be pushed and stored inside Mailchimp and thus accessed by Mailchimp newslettters/automations. Something like this:


You'll need to make sure you created a custom merge field inside Mailchimp to hold the values of the signup codes. To do so, you'll need to go to Audiences > Settings > Audience fields and *|MERGE|* tags. Make sure you have the right Current Audience selected:


Screen Shot 2020-04-30 at 9.35.05 AM.png


Then you can go Add a Field (type text) and name it something like this:

Screen Shot 2020-04-30 at 9.41.12 AM.png


Don't forget to Save Changes.


Afterwards, you'll want to map your Privy coupon code field into that Mailchimp custom field you just created. This documentation should help:


Once that's done, you can call that custom field into your emails using Mailchimp's merge field syntax, i.e.  as in the example *|SIGNUPCOUP|* or *|MERGE6|*.


Hope this helps!