Encourage your guest to verify their ID
Following the example above, you can also create a custom code named %%not_verified%%, with a message encouraging the guest to verify their ID with Airbnb, and set the condition to "The guest has not verified their identity with Airbnb".
Nesting Custom Codes together
This may be enough for a lot of hosts, but what if you want to send the %%not_verified%%, only when your guest has not received any review?
Although there is no possibility of creating several conditions for the same custom code, you can "nest" a custom code within another custom code, to inherit its initial condition: you can include your custom code within another custom code.
If we only want to show our new %%not_verified%% custom code to guests who have not received any review yet, you can create a second custom code %%no_reviews%%, whose condition is "The guest has not received any reviews yet".
Within %%no_reviews%%, you may include "%%not_verified%%.
If you only include the code %%no_reviews%% in your templates,
• it will display the code %%not_verified%%
• If your guest has received at least one review, the code will be erased and your guest will not see anything.
• If your guest has not received any review, the code %%not_verified%% will be replaced with the matching text if the guest has not verified their ID.
You can use up to
three different levels of custom codes
(a custom code, within a custom code, within a custom code). Additional levels of custom codes will not be supported and will be erased. However, there is no restriction on the number of short codes.
Now that we have created a "master" custom code with %%no_reviews%%, we want to ask the guest a few questions, such as the purpose of their trip, or what they intend to do during their visit.
You may create a distinct custom code (with its own conditions, or no condition at all), or just include the questions within %%no_reviews%%.
Some inexperienced guests do not necessarily pay attention to details, and that may result in bad experiences. In our example, we also want to ensure our guest is informed that Versailles is a private room.
To address that, we can create a new custom code %%private_room%%, specific for Versailles (select Versailles in the listing selection menu).
You can then include %%private_room%% within the %%no_reviews%% custom code.