Skip to main content

Custom Code Condition: "The Guest Has No Phone Number"

How the "The guest has no phone number" custom code condition works, when to use it, and platform-specific privacy rules to keep in mind.

Written by Pierre-Camille Hamana

Not all booking platforms share a guest's phone number with hosts for privacy reasons.

Hosts may still want to ask for a phone number from the guest in order to stay in touch throughout their stay. It's important that you know when you are allowed to do this, and that you do this and manage the guest's personal details in a responsible way.


"The guest has no phone number" custom code condition

This custom code condition detects when the guest profile does not contain a phone number, and triggers the custom code's message to be sent (when the custom code is included in a messaging rule).

📓 If a guest profile has a Temporary phone number from Airbnb, this still counts as a phone number, and the custom code condition will not be triggered.


How it works

When triggered, the condition will populate the custom code's text in the messaging rule it is added to.

  • When a guest shares a phone number in a conversation thread, the guest profile is not automatically updated with this information.

  • The guest details at the top of the conversation thread do not change; the phone number does not automatically get added there.

  • Hosts cannot manually add a phone number to the guest details in the conversation thread.

  • Hosts can reach out to Hospitable support to add a phone number to the guest's profile.

  • If later messaging rules contain a custom code with the same condition, and the phone number has not been added to the guest profile by Hospitable support, the custom code will be triggered again.


Are hosts allowed to ask guests for their phone number?

The answer to this can depend on the booking platform, and possibly other rules or restrictions.

Hospitable cannot advise on this point or give an answer.

Hosts should consult the booking platform's terms and conditions or contact its customer support for an answer.

⚠️ Failure to comply with your booking platform's privacy rules may result in penalties from the platform!

Did this answer your question?