# Templates and conditional logic

**URL:** <https://community.hubspot.com/t/templates-and-conditional-logic/131205>\
**Category:** Sales Email\
**Tags:** workaround\
**Created:** [May 7, 2025, 4:15pm UTC](https://community.hubspot.com/t/templates-and-conditional-logic/131205 "2025-05-07T16:15:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JaneRiddington](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@JaneRiddington](https://community.hubspot.com/u/JaneRiddington)\
**Post date:** [May 7, 2025, 4:15pm UTC](https://community.hubspot.com/t/templates-and-conditional-logic/131205/1 "2025-05-07T16:15:46Z")

</div>

I am not sure if possible but is there a way on general templates to only show a snippet if another field fulfils a criteria? I want to be able to trigger a snippet appearing if a existing company field is yes.

So if a pre determined template is going to a customer that fulfils a property value the snippet automatically populates the template.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [May 7, 2025, 4:20pm UTC](https://community.hubspot.com/t/templates-and-conditional-logic/131205/2 "2025-05-07T16:20:51Z")

</div>

Hi @JaneRiddington,

Not out of the box, no. A workaround could look as follows:

- Create a workflow that enrolls contacts who meet the criteria
- Create a text field
- Using the ‘Edit record’ workflow action, put the entire text block you want to make additional as a value in that text field
- Add the new field into your email as a personalisation token (it would be empty for contacts who weren’t enrolled in the workflow, and show the text for those who were)

If you need links and formatting, the property type would have to be rich text.

Similar behaviour could be achieved with a calculation property - the benefit being that it would auto-clear if the condition isn’t met anymore. The workflow would have to be specifically configured to account for that.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![JaneRiddington](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@JaneRiddington](https://community.hubspot.com/u/JaneRiddington)\
**Post date:** [May 15, 2025, 12:15pm UTC](https://community.hubspot.com/t/templates-and-conditional-logic/131205/3 "2025-05-15T12:15:26Z")

</div>

Many thanks Karsten. Whilst great idea it won’t work for the team involved. thank you.
