# Ability to Include Single Use Code in Email?

**URL:** <https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930>\
**Category:** Sales Email\
**Created:** [August 25, 2019, 5:59pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930 "2019-08-25T17:59:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MiaPV](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miapv/32/54847_2.png) [@MiaPV](https://community.hubspot.com/u/MiaPV)\
**Post date:** [August 25, 2019, 5:59pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930/1 "2019-08-25T17:59:58Z")

</div>

Hopefully this is a dumb question with a very easy solution. We are hoping to be able to send an email to our subscribers with a single-use coupon code. Is there an automated way to include a unique code for each person on the mailing list?

Thanks in advance!

Mia

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [August 25, 2019, 8:10pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930/2 "2019-08-25T20:10:11Z")

</div>

Although HubSpot has no built-in native coupon code generation functionality, there may be an integration to help -- depending on your need. If you’re wanting to port coupon codes to a WooCommerce store, maybe try [HubSpot Dynamic Coupon Code Generation](https://makewebbetter.com/product/hubspot-dynamic-coupon-code-generation/)

An alternative is to maybe use Zapier to load pre-built unique codes into HubSpot.

Finally, there’s always custom development.

---

<div class="post-metadata">

**Author:** ![MiaPV](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miapv/32/54847_2.png) [@MiaPV](https://community.hubspot.com/u/MiaPV)\
**Post date:** [August 25, 2019, 8:16pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930/3 "2019-08-25T20:16:25Z")

</div>

Thanks for the quick response @MFrankJohnson! The codes are actually being generated by a potential affiliate partner of ours, which I think makes it a little more complicated? The only workaround I can think of would be to export a list of our newsletter contacts and add a contact property column with their unique code inserted, and then try to do a bulk upload/update to our existing contacts…but I also am not sure that will work and I don’t want to break anything. Does that sound like a feasible solution?

Thanks!

Mia

---

<div class="post-metadata">

**Author:** ![MFrankJohnson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mfrankjohnson/32/22490_2.png) [@MFrankJohnson](https://community.hubspot.com/u/MFrankJohnson)\
**Post date:** [August 25, 2019, 8:39pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930/4 "2019-08-25T20:39:39Z")

</div>

Hey Mia, your solution sounds feasible. However, there are at least a couple gotchas to be aware of.

- HubSpot offers no way to LOCK properties. So, once you perform your initial upload, there’s no way to protect those codes from being ‘modified’ once they’re in production -- i.e., after you send your emails.

- Everytime you need to add new codes you’ll need to perform additional uploads. This is true for one (1) code or 1000 codes -- unless, of course, you add them manually. 😐

Shouldn’t be a big deal if you don’t often have lots of new codes, AND you expect them to be used fairly quickly. Still not very scalable though.

Zapier should be able to ‘pick’ your codes from a Google Sheet based on HubSpot Contact email address. That may be a more manageable solution since, once setup, you’ll only need to add new contact email addresses (and their new coupon codes) to the Google Sheet.

---

<div class="post-metadata">

**Author:** ![MiaPV](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miapv/32/54847_2.png) [@MiaPV](https://community.hubspot.com/u/MiaPV)\
**Post date:** [August 25, 2019, 8:41pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930/5 "2019-08-25T20:41:59Z")

</div>

That definitely helps and verifies some concerns I had with my workaround. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [June 14, 2024, 11:04pm UTC](https://community.hubspot.com/t/ability-to-include-single-use-code-in-email/15930/6 "2024-06-14T23:04:22Z")

</div>

Hi @MiaPV,

We know we’re a bit late to respond here…🙂

But nevertheless, we wanted to offer a solution to streamline to automatically send single-use coupon codes to your customers through HubSpot!

We’ve built the [Coupons App,](https://ecosystem.hubspot.com/marketplace/apps/marketing/marketing-automation/coupons) 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](https://ecosystem.hubspot.com/marketplace/apps/marketing/marketing-automation/coupons), 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 generate unique, single-use coupon codes within the Coupons app, and then follow our [quick-start guide](https://dashapps.helpscoutdocs.com/article/494-create-hubspot-workflow) to distribute your codes to your customers through HubSpot Workflows.

We’re happy to set you up with a 7-day free trial if you email us at [support@dashapps.com](mailto:support@dashapps.com)\*\*,\*\* and for more info, you can check out our listing on the [HubSpot app marketplace](https://ecosystem.hubspot.com/marketplace/apps/marketing/marketing-automation/coupons). 🙂
