Can I create a workflow that emails a unique code to new form submissions?

I’ve been poking around the forum and am not sure there is a clean solution to this - but I thought I’d see if there have been any updates since fall 2018.

We would like to create a workflow that goes like this:

1) New customer completes form

2) Form completion triggers email to customer containing a unique coupon code

I can generate the coupon codes outside of Hubspot. My issue is figuring out how to send a unique code to every person who fills out the form. Does anyone have experience with this and potential solutions?

Are you able to build an API between the system that holds the codes and Hubspot? That is what you need. I would just have the API send that data from your platform to a Hubspot Property for a coupon code. Then insert that personalization token into your email. The only thing you cannot do is have the form trigger a thank you email with the code because the API integration will require time so if you send immediately the code would be blank.

What you need to do is create an active list looking for contacts who recently submitted the form AND who also have that coupon code property known. Use that as your enrollment criteria into the workflow that sends the “thank you” email with the coupon code.

If you don’t have an API connection, or developers to help out with this, a manual way of setting this up would be to send a notification email to a specific contact at your company upon every submission. Have the code manually entered into a property, and then the workflow described above will still take affect, but then the thank you is dependant on how efficiently you are able to enter codes into Hubspot.

Thanks for this response! An API isn’t an option for us, so we’ll have to figure out a manual solution. I’ll look into the solution you suggested.

You’re welcome! If you needed any assistance with implementing or drawing up a more formal plan for your instance I’d be willing to help lend a hand if needed.

Hi @architect,

We know we may be a few years late with this response…:slight_smile:

But wanted to chime in here and help offer a solution to streamline your distribution of coupon codes to your customers through HubSpot!

We’ve built the Coupons App, which simplifies the process of creating and managing coupons for your business. It integrates directly into your HubSpot account, so you can automatically distribute coupon codes to your customers through HubSpot workflows.

With the Coupons App, you can:

  • Bulk upload and/or generate an unlimited number of unique coupon codes

  • Automatically sync coupon data with HubSpot

  • Trigger single-use coupon sends in your HubSpot workflows

  • Track your marketing campaigns with real-time insights

With your use case, you can bulk-upload the codes you’ve created outside of HubSpot to the Coupons app, and then follow our quick-start guide to distribute your codes to your customers.

We’re happy to set you up with a 7-day free trial if you email us at support@dashapps.com**,** and for more info, you can check out our listing on the HubSpot app marketplace. :slightly_smiling_face: