# Dynamically generating email content

**URL:** <https://community.hubspot.com/t/dynamically-generating-email-content/10185>\
**Category:** Email Marketing Tool\
**Created:** [September 12, 2018, 9:47pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185 "2018-09-12T21:47:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gnadivi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gnadivi/32/1529_2.png) [@gnadivi](https://community.hubspot.com/u/gnadivi)\
**Post date:** [September 12, 2018, 9:47pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185/1 "2018-09-12T21:47:09Z")

</div>

We have one basic email we send out to thank people for downloading an ebook, white paper, case study, etc. The primary difference between the emails is the reference to the title of the collateral being downloaded. We also personalize the email with the contact info of the salesperson whose territory the downloader is located in.

Currently, I’m creating an email for every piece of collateral multiplied by the number of salespeople. Is there any way I can dynamically generate the email, based on the collateral & assigned salesperson?

---

<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:** [September 12, 2018, 10:23pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185/2 "2018-09-12T22:23:11Z")

</div>

\*\*  
 ![_hubspot-button-accept-as-solution-gif-v00.gif](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/8/280f73986e0517a27aa4068d06718dbcda1a42a2.gif)  
\*\*

**Q** : I’m creating an email for every piece of collateral multiplied by the number of salespeople. Is there any way I can dynamically generate the email, based on the collateral & assigned salesperson??

**Short A** : Totally … use smart content and lists.

**Longer A** :

-1- You’ll want to build smart lists that add contacts as they download assets.

Examples:

- Contacts Who’ve Downloaded Ebook - Web Dev

- Contacts Who’ve Downloaded Whitepaper - HubSpot

- Contacts Who’ve Downloaded Case Study - Acme Printing

-2- You’ll want to clone your email template and make the email body in the new template ‘smart’ as follows …

(see image)

 ![hubspot-email-template-smart-content.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/a/a4726e8f2f5fa7a9435cefd71687f8325579169c.png)

Basically, you’re adjusting the content of the email body to accommodate the list to which the recipient belongs. Remember, if a contact belongs to more than one list the first smart content rule that matches will fire …

-3- Finally, you’ll want to use a personalization token within each email body signature so that the email is signed using the assigned salesperson.

Always happy to help you build on HubSpot.

Best,  
Frank

* * *

* * *

 ![hubspot-solutions-signature-mfrankjohnson-v05.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/7/27f33a2557b556a36da15be33d54ef60513d59ef.png)

* * *

[www.MFrankJohnson.com](https://www.mfrankjohnson.com/?utm_source=hs-forum)

 

_ **Help find this post quickly … accept this solution now.** _

---

<div class="post-metadata">

**Author:** ![gnadivi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gnadivi/32/1529_2.png) [@gnadivi](https://community.hubspot.com/u/gnadivi)\
**Post date:** [September 12, 2018, 10:44pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185/3 "2018-09-12T22:44:09Z")

</div>

Frank,

Your interface looks a bit different than mine. I wonder if what you’re suggesting is possible in our subscription?

---

<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:** [September 12, 2018, 10:58pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185/4 "2018-09-12T22:58:26Z")

</div>

HubSpot Marketing Pro (or Enterprise)

---

<div class="post-metadata">

**Author:** ![gnadivi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gnadivi/32/1529_2.png) [@gnadivi](https://community.hubspot.com/u/gnadivi)\
**Post date:** [September 12, 2018, 11:07pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185/5 "2018-09-12T23:07:59Z")

</div>

It looks like you can customize smart rules based on Country, Device type, Referral source, Preferred language, Contact list membership, or Lifecycle stage.

What if I want to customize the content based on the collateral being downloaded? Which one would be applicable for that?

---

<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:** [September 13, 2018, 11:24pm UTC](https://community.hubspot.com/t/dynamically-generating-email-content/10185/6 "2018-09-13T23:24:01Z")

</div>

Are you using HubSpot Marketing Pro (or Enterprise)?
