Skip to main content
All CollectionsGuest ExperienceCustom CodeCustom Codes
Custom Code Conditions: What Are They?
Custom Code Conditions: What Are They?

What are custom code conditions and how are they triggered?

Assistant avatar
Written by Assistant
Updated over 4 months ago

Sometimes, you may want to create a custom code that is only included for guests that meet certain criteria. This is where custom code conditions come in!

When sending a message to a guest or teammate, we check the custom codes in the messaging rule to see if the conditions are met.

With this, two things can happen:

  • A condition is met; your custom code will be replaced, and the text that it contains will be populated in the message.

  • The condition is not met; the custom code will not be replaced, and the custom code will be erased from the message. The message will not be sent with the name of the custom code that wasn't triggered.

Custom code conditions are typically used to adapt messages to specific situations without needing to create more rules.

For example, if you'd like to potentially upsell an early check-in, you could create a custom code with the condition "The night before the check-in is/is not available" and add it to a before check-in message rule. If a guest is going to check-in and the night before the check-in is available, we will include the text seen within that custom code.

Click here to see all available custom code conditions

Note: if your messaging rule only contains a custom code and no other text, and the condition of that custom code is not met at the time of sending the message, then the message will not be sent!

We will never send an empty message to your guests or teammates.

Did this answer your question?