Skip to main content
All CollectionsGuest ExperienceCustom CodeCustom Codes
Using Short Codes and Custom Codes Inside Custom Codes
Using Short Codes and Custom Codes Inside Custom Codes

Can I use short codes inside my custom codes? What about other custom codes? Can I use other custom codes within a custom code?

Assistant avatar
Written by Assistant
Updated over a week ago

Custom codes can include both short codes and other custom codes.

Using short codes within custom codes

Custom codes are used to create paragraphs to personalise and make your messages unique to certain situations and bookings. These can include short codes, which will populate property, guest, and reservation details from the relevant reservation.

Using custom codes within a custom code

If you use a custom code within another custom code's text box, we will include the custom code if the property and conditions match.

This can be extremely handy for creating dynamic message rule templates that include certain short codes and custom codes when the condition of another custom code is met.

You can nest custom codes inside each other to create more than one condition for them! Custom codes can only ever have one condition, but nesting them in this manner can create a custom code which essentially has more than one condition.

Let's say, for example, that you want to offer the night after check-out at a certain price to guests who book a stay with you within one day of check-in.

You would need the conditions for:

  • Check-in is in less than 1 day

  • Night after check-out is available

Obviously, one custom code cannot have both of those conditions. So, what you do in this case is:

  1. Create a custom code and set the condition to "Check-in is in less than 1 day"

  2. Type the offer into that custom code; "The night after your check-out is still available. If you would like to extend your stay, then I can offer you a one-night extension for $50 (or whatever your offer is)".

  3. Create a second custom code and set the condition to "Night after check-out is available"

  4. Don't type any text into that second custom code, but input the first custom code

  5. Input the second custom code into a relevant messaging rule

Now you've created a situation where both of those conditions need to be met in order for the text to be included in the message to your guest.

Did this answer your question?