# Struggling with Programmable Email Beta - Conditional Logic

**URL:** <https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716>\
**Category:** Email Marketing Tool\
**Tags:** enterprise\
**Created:** [September 13, 2021, 10:45am UTC](https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716 "2021-09-13T10:45:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Indra](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/indra/32/98381_2.png) [@Indra](https://community.hubspot.com/u/Indra)\
**Post date:** [September 28, 2021, 7:19am UTC](https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716/3 "2021-09-28T07:19:54Z")

</div>

@natsumimori thanks for mentioning.

Hi @KimM did you check the output `{{ contact.sessions_registered_2021 }}` of your variable.

Perhaps you can check out other conditinal logics from the [Operators & Expression](https://developers.hubspot.com/docs/cms/hubl/operators-and-expression-tests) and like:

`{% if contact.sessions_registered_2021 == 'Session 1' %}`

---

_[View the full topic](https://community.hubspot.com/t/struggling-with-programmable-email-beta-conditional-logic/43716)._
