We have a promotion coming up where we want to capture new customer data. When the customer fills out a form we want to send them an email with a serialized coupon that we have in a table (database). These numbers have to be unique or we would just write a single number into the email. Is this possible in Marketo?
Solved! Go to Solution.
If the database is web-accessible, then you can pull a coupon code off a stack using a webhook (the database maintains a pointer/index to the next code so it knows to go down the list).
If you only have a raw text file/CSV, you can still have a webhook pull a code and maintain the next index internally.
I also expounded at length on the possibilities of doing this without a prefab list of codes in this blog post.
If the database is web-accessible, then you can pull a coupon code off a stack using a webhook (the database maintains a pointer/index to the next code so it knows to go down the list).
If you only have a raw text file/CSV, you can still have a webhook pull a code and maintain the next index internally.
I also expounded at length on the possibilities of doing this without a prefab list of codes in this blog post.
Thank you Sanford! This is extremely helpful. We will look into a webhook as the list is provided to us from another system.
Great, if you could mark my answer as correct for the future...
Hi Joy,
If you have these promo codes generated by some system other than Marketo, you can write a web hook yourself. Or use a service like Bright hooks.
check out
https://www.linkedin.com/pulse/generate-unique-promo-code-each-member-marketo-campaign-mba/
Rajesh