Skip to main content

Custom Code Conditions: What Are They?

What are custom code conditions and how are they triggered?

Written by Assistant

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, three things can happen:

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

  • If the condition is not met but the template has other plain text; the message sends without the custom code. The code's name won't appear in the message; it's simply removed.

  • If the condition is not met and the template has no other text; no message is sent (we won't send a blank message to your guest).

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?