# Dynamic content in mail based on submitted form

**URL:** <https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003>\
**Category:** Email Marketing Tool\
**Tags:** enterprise\
**Created:** [May 25, 2023, 11:01am UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003 "2023-05-25T11:01:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VVanopbroeke](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@VVanopbroeke](https://community.hubspot.com/u/VVanopbroeke)\
**Post date:** [May 25, 2023, 11:01am UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003/1 "2023-05-25T11:01:13Z")

</div>

Hi

I have one form in which the user can check up to 13 brochures to download. Is it possible to create an automated e-mail that provides the user only the links to the requested brochures?

So if someone checks 5 of them, he’ll get those 5 links in his mail. If someone else checks 3, he only gets those 3 links …

Thx

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [May 25, 2023, 12:00pm UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003/2 "2023-05-25T12:00:46Z")

</div>

Hey @VVanopbroeke it’s a small bit tedious but one way to achieve this would be to create active lists for each brochure selection. So you’d need 13 lists in total. The criteria for your list could be the property/form field for the brochure selection, whatever you have called it. So for example I could choose Brochures “1,3,4” in the form. Then I would be a member of 3 lists “brochure 1, brochure 3, brochure 4”  
You can then use [smart content in your emails](https://knowledge.hubspot.com/website-pages/create-and-manage-smart-content-rules) to target these. The best way would probably be to create 13 smart CTAs which have rules to show the download links based on them choosing these. The only issue here is you would need some sort of “blank” default CTA state for these when they’re unselected, so this might become a bit messy.  
One other way this could be achieved would be to have 13 custom contact properties, each one of them contains the download links. You could then use these properties as [personalization tokens](https://knowledge.hubspot.com/website-pages/personalize-your-content) in the email. You may want to set up a workflow to copy these link values into the custom properties on form submissions though to save time!

---

<div class="post-metadata">

**Author:** ![VVanopbroeke](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@VVanopbroeke](https://community.hubspot.com/u/VVanopbroeke)\
**Post date:** [May 26, 2023, 8:37am UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003/3 "2023-05-26T08:37:25Z")

</div>

Thank you very much!

I followed your first option and used rich text links. I entered no text for those who don’t meet the smart rule and the url to the brochure for those who do. Setting the padding top and padding bottom to 0 and adding in the html of the text for those who do meet the smart rule a \<div style=“padding: 20px 20px;”\>\</div\>, there are no blank defaults showing.

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [May 26, 2023, 10:12am UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003/4 "2023-05-26T10:12:32Z")

</div>

Hey @VVanopbroeke what’s showing for the default contacts?

---

<div class="post-metadata">

**Author:** ![VVanopbroeke](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@VVanopbroeke](https://community.hubspot.com/u/VVanopbroeke)\
**Post date:** [May 26, 2023, 10:15am UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003/5 "2023-05-26T10:15:56Z")

</div>

Absolutely nothing, not even a little space :). It’s perfect!

---

<div class="post-metadata">

**Author:** ![TomM2](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tomm2/32/70887_2.png) [@TomM2](https://community.hubspot.com/u/TomM2)\
**Post date:** [May 26, 2023, 11:12am UTC](https://community.hubspot.com/t/dynamic-content-in-mail-based-on-submitted-form/82003/6 "2023-05-26T11:12:22Z")

</div>

Oh amazing! I thought you had an issue! Nicely done! let me know if you have any more questions, and have a great weekend! 🙂
