Is there a way I can email unique coupon codes to leads via mautic?
Once a lead fills out the optin form they are sent an email with a unique coupon code they can use to purchase product at a discounted price.
The key point here is
The coupon code is unique for each customer
I need to be able to pass the form data point ( name, email) and coupon code into mautic and then mautic will send the an email with the coupon code(s) to each lead that fills out the form
The issue is
How to I pass this coupon code(s) with the form fields (Name, email) into mautic
Any idea on how to achieve this will be greatly appreciated.
Hi All,
Is there a way I can email unique coupon codes to leads via mautic?
Once a lead fills out the optin form they are sent an email with a unique coupon code they can use to purchase product at a discounted price.
The key point here is
The coupon code is unique for each customer
I need to be able to pass the form data point ( name, email) and coupon code into mautic and then mautic will send the an email with the coupon code(s) to each lead that fills out the form
The issue is
How to I pass this coupon code(s) with the form fields (Name, email) into mautic
Any idea on how to achieve this will be greatly appreciated.
Thanks a million
I would be interested in this as well. I’ve considered several different ways to do it. The “easiest” seems to be a a field type that is hidden but gets filled in in an action before the email is created. Creating the coupon isn’t difficult, WooCommerce has an API endpoint for that.
I just need a hook somewhere, preferably post form submission but pre-actions, where I can make the call and put the data where the email can get to it.