Normally to add the guest phone number in a notification you could use the following variables:
{{ guest.mobile }}
{{ guest.phone }}
Due to different channels sending and receiving data in different ways, we experienced issue in notifications where the phone numbers were not getting through the notifications.
To fix this issue, we created more variables to fit with the needs. There are two options:
Option 1
Instead of using the above variables, you can use
{{ guest.primary_phone }}
This will give you the 1st phone number in the booking which is based on the channel source it is booked with, the priority will go to mobile phones.
Option 2
If you have a special label for the phone numbers, an example is bookings coming from Airbnb which will create labels like these:
In this case, you can now create variables with the labels to fit accordingly by adding the label name in the brackets like this:
{{ guest.phones["Airbnb-1"] }}
{{ guest.phones["Airbnb-1"] }}
Or create your own by adding the needed
{{ guest.phones["Label Name"] }}
If you have any issues with this or need more information, please contact the support team.
Comments
0 comments
Please sign in to leave a comment.