Triggers give you a powerful way to communicate automatically. You can respond to guests with personalized messages or notify third parties without lifting a finger! To read more about triggers, check out our Trigger overview support article. We've created a small library of trigger examples to help get you started.
In this example, we're dealing with a booking for the following scenario:
Scenario: Send a Booking Cancellation Notice to Your Guest Who Booked Through Your Personal Website
Nobody wants to see a booking get canceled, but sometimes life happens! Having Guest Booking Cancellation Notification message templates ready to send to guests who cancel will make your workflow easier.
This scenario assumes that the guest has already provided contact information and signed a renter agreement.
Handling Guest Booking Cancellation Notification messages will vary depending on where the booking originated. Direct bookings and Vrbo API-connected cancellations are handled differently than Other Listing Channels. We recommend that you read our Canceling a Booking support article for a complete explanation.
By setting up email and SMS templates with associated triggers, you can send a message to guests who cancel. OwnerRez can do that for you with message triggers.
Here are the steps for how to set up a template and trigger for this scenario:
- Create a Booking Message Template to Send a Booking Cancellation Notice to Your Guest Who Booked Through Your Personal Website
- Create a Trigger That Applies to Booking Cancellations to Send a Booking Cancellation Notice to Your Guest Who Booked Through Your Personal Website
Create a Booking Message Template to Send a Booking Cancellation Notice to Your Guest Who Booked Through Your Personal Website
Go to Settings > Templates to configure the "booking" template type message you want to send to your guest.
There are two choices for the type of template you can create - email, and SMS. These are the delivery methods that will be used for your response. To send these types of templates, the booking must have contact information you can reply to. For instance, if you want to send an SMS message as your reply, the guest must have provided a phone number with their booking.
Send by Email
First, we'll create an email template, so go to Settings > Templates > Email tab > click the Create Email Template button > select the "Booking" option. This will open an email editor with some sample field codes filled in. For detailed information about how email templates work, check out the email templates overview article and field codes article.
Copy and paste the following values into your new email template.
Name:
Guest Booking Cancellation Email Template
From Name:
{MYCOFULL}
From Address:
{MYEMAIL}
To Name:
{CFULL}
To Address:
{CEMAIL}
Subject:
[Booking # {BID}] Canceled
Body:
Hi {CFIRST},
We're disappointed that you had to cancel your booking (# {BID}) at {PDISPNAME}.
As a reminder, our cancellation policy is:
{BCANPOLDAT}
A refund in the amount of {BTREF} was initiated on {ZCURDAT} for your credit card on file.
Please let us know if you have any questions or concerns, and keep {PDISPNAME} in mind for your future travel!
{MYFIRST}
If you're wondering what those field codes do, check out the field codes support article or use the "Preview" button on the booking to take a live look.
Here's a quick preview of what the above email message looks like:
Notice how clean and personalized the content is. The subject line is dynamic to the property name. We included the (# {BID}) booking ID field code as well as our cancellation policy in italics as a reminder for the guest by including the {BCANPOLDAT} field code that uses specific dates. The body addresses the guest by name, so it looks like the body was written by hand. In other words, it looks like a hand-written manual response, even though it wasn't.
Notice the "A refund in the amount of {BTREF} was initiated on {ZCURDAT} for your credit card on file." sentence? Because we have access to all the booking financial information, we included the total amount refunded {BTREF} field code, and the today's date {ZCURDAT} field code. That means that you need to initiate the direct booking cancellation ASAP! You could also include the Booking Charges Table {BCTAB} field code if you want to.
After copying and pasting the above subject and body into your template, feel free to play with the words and styles to make it your own. However, remember that we are creating a message that is specific to "direct booking cancellations." This message assumes that all cancellations it responds to are bookings with guest contact information, so make sure to customize accordingly.
We are now armed with a solid cancellation email template to send to the guest. But what about sending an SMS message?
Send by SMS
Some bookings that arrive in your account will already include the guest's phone number. This typically happens when a guest books on your book-direct website, using your Book Now widget, or on a listing channel that passes guest contact information at the time of booking, such as Vrbo.
Using our SMS premium feature, you can reply directly to their cell phone via SMS. For detailed information about how SMS templates work, check out the SMS Templates and field codes support articles.
To create an SMS template, go to Settings > Templates > SMS tab > click the Create SMS Template button > select the "Booking" option. This will open an SMS message editor with some sample field codes filled in.
Copy and paste the following values into your new SMS template.
Name:
Guest Booking Cancellation SMS Template
To Phone Number:
{CPHONE}
Body:
Hi {CFIRST}, your booking (# {BID}) at {PDISPNAME} has been canceled. A refund in the amount of {BTREF} was initiated on {ZCURDAT} for your credit card on file. Keep {PURL} in mind for your future travel! 😁
Once again, smack that Preview button to see how this looks live! SMS templates are similar to channel templates in that they are plain text with no colors or formatting options, but you can still dress them up with personalized field codes and light-hearted emojis.
Here is a quick look at how the above SMS template looks in preview mode:
Not a fan of emojis? No worries, edit that part out!
You'll notice that this SMS template differs from the email template in that it is much shorter and doesn't include the {BCANPOLDAT} cancellation policy field code link. Instead, it's a quick sentence about their cancellation.
We did include the following field codes: total amount refunded {BTREF}, today's date {ZCURDAT}, and the {PURL} property URL field code to encourage the guest to keep us in mind for future travel. If you'd rather say something else - that's totally fine. Or you could send a larger message body, including the shorter {PCANPOL} cancellation field code link.
Now that we have some message templates created, it's time to configure the trigger that will send them.
Create a Trigger That Applies to Booking Cancellations to Send a Booking Cancellation Notice to Your Guest Who Booked Through Your Personal Website
Since each trigger can only send one message template, you'll need to create a trigger for each type of reply you send. Above, we crafted replies for email and SMS, so we'll need to create two triggers to send each one.
First, we'll create a trigger to send the email message. Navigate to Settings > Messaging > Triggers > and click + Create Trigger to pull up the new trigger screen.
Here is a list of all the settings the trigger needs to have:
- Type: Immediate
- Event: Booking is canceled/deleted
- Add Condition > Email Address on File is One Of > Has Real Email Address
- Add Condition > Listing Site is One Of > Your Personal Website
- Action: Email Templates > Guest Booking Cancellation Email Template
Now, let's talk about what the above settings mean!
The Type and Event fields will make the trigger run as soon as any booking cancellation/deletion is received or recorded in your account.
Since we are targeting "direct booking cancellations" for guests for whom we already have contact information only, we want to add a "Condition" to the trigger that will stop it from sending out messages for other bookings. Adding the "Has real email address" condition status covers that. We also added the "Listing Site is > Only: Your Personal Website" condition status to this email template so that it is only sent to guests who booked on your personal website and then canceled.
You may want to add other conditions, but for now, this is enough to make our trigger send the Guest Booking Cancellation Email Template when you receive a cancellation.
Finally, the last thing we select is the "Action" for the email template we want to send. Since this trigger is supposed to send an email message, select the email template and be careful not to select a channel or SMS template.
At this point, your trigger should look like this:
Nice and simple!
Click Save, and now you have a trigger ready to go. These actions do exactly what they say. When a booking cancellation comes in from a guest who booked on your personal website, the trigger runs to send your Guest Booking Cancellation Email Template. That's it!