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 a condition is met, your custom code will be replaced by the matching text.
If the condition is not met, the custom code will not be replaced, and the custom code will be erased from the message.
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.