# Conditionals in Notifications

**URL:** <https://forum.youcanbook.me/t/conditionals-in-notifications/3771>\
**Category:** Forum FAQs\
**Created:** [October 16, 2024, 7:58pm UTC](https://forum.youcanbook.me/t/conditionals-in-notifications/3771 "2024-10-16T19:58:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![clakrame](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@clakrame](https://forum.youcanbook.me/u/clakrame)\
**Post date:** [October 16, 2024, 7:58pm UTC](https://forum.youcanbook.me/t/conditionals-in-notifications/3771/1 "2024-10-16T19:58:01Z")

</div>

I have some appointment types who are grouped and some that are not. In my notifications, I have shorthand coded:  
Meeting Request: {ACCT} for {TYPE-NAME-NO-GROUP}

However, for the appointment types that are not in a group this shows up empty in the notification.

So I tried coding a condition:  
Meeting Request: {ACCT} for {IF}{TYPE-NAME-NO-GROUP}{EQUALS}“”{THEN}{TYPE-NAME}{ELSE}{TYPE-NAME-NO-GROUP}{ENDIF}

I’ve also tried {BLANK} and a space instead of “”.

Is there a way to code that it is empty or blank then fill in with a different code?

---

<div class="post-metadata">

**Author:** ![Jamie](https://avatars.discourse-cdn.com/v4/letter/j/aca169/32.png) [@Jamie](https://forum.youcanbook.me/u/Jamie)\
**Post date:** [October 18, 2024, 5:32pm UTC](https://forum.youcanbook.me/t/conditionals-in-notifications/3771/2 "2024-10-18T17:32:09Z")

</div>

Hi Claire, our support team just reached out to you to get more info on your set up. 🙂
