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 an inquiry for the following scenario:
Scenario: A guest asks for dates that are quotable
Even with direct channel integrations and a real-time direct-booking website, there are times when guests will request dates that are available and quotable. Other times, it happens when your properties are advertised on regional listing sites that don't show real-time availability.
Whatever the reason, you want to answer these inquiries quickly by sending them a quote as fast as possible so that they can immediately book and clear them from your inbox. 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 inquiry templates with your reply, saying the dates are quotable
- Create a trigger that applies to inquiries with an "Quotable" status, and send your prepared templates
- Variations
Create inquiry templates with your reply, saying the dates are quotable
Go to Settings > Templates to configure the message you want to send. Since this template will be used for inquiries, create an "inquiry" type of template.
There are three choices for the type of template you can create - email, channel, and SMS. These are the delivery methods that will be used for your response. To send these types of templates, the inquiry 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 inquiry.
Replying by Email
First, we'll create an email template, so go to Settings > Templates > Email tab > click the Create Email Template button > select the "Inquiry" 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 articles.
Copy and paste the following values into your new email template.
Name:
Available and Quotable Email Template
From Name:
{MYCOFULL}
From Address:
{MYEMAIL}
To Name:
{CFULL}
To Address:
{CEMAIL}
Subject:
RE: {IDES}
Body:
Hi {CFIRST},
Thanks for your inquiry about {PDISPNAME}. I've prepared a quote, shown below, for the dates you requested.
Please use the buttons at the bottom to view more information about the quote or to accept it and checkout. Our checkout form is simple to use and very secure.
{QHCTAB}
{MYFIRST}
_____________________________________________________
{ICOMM}
{IOITAB}
If you're wondering what those field codes do, check out the field codes support article or use the "Preview" button on the inquiry 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 guest name, property, and dates selected, so it will match the conversation that the guest created. The body addresses the guest by name and uses a different color, so it looks like the body is being written by hand. It includes the guest's original inquiry comment and requested itinerary to remind the guest of what they asked originally and to provide context for why this response is coming back to them. In other words, it looks like a hand-written manual response, even though it wasn't.
Notice how we included the quote field code {QHCTAB} in the body? By including the quote field code {QHCTAB}, the guest will be able to see the quote (and hopefully book right then and there) that you mentioned in the second sentence.
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 specific to "available and quotable" inquiries. This message assumes that all inquiries it responds to are available dates, so make sure to customize accordingly. If this template is used for an inquiry that has unavailable dates, the body of the message would be confusing to your potential guest.
We are now armed with a solid reply for any email inquiries that come in. But what about channel inquiries?
Replying by Channel
As cool as the email template looks above, what happens if you don't have the guest's email address?
Channels like Airbnb and Booking.com don't provide an email address for the guest, so you need to be able to reply on channel messaging platforms as well. OwnerRez directly integrates with the native messaging platforms at Vrbo, Airbnb, and Booking.com, so this is easy to set up!
However, sending OwnerRez quotes by channel messaging does NOT work! Most guests who contact you regarding available dates on listing channels (Vrbo, Airbnb, and Booking.com) may already know the total price of their travel dates but still want to verify something with you before they book on the listing site.
But that doesn't mean that you cannot respond to the guest, letting them know their travel dates are available and encouraging them to go ahead and book directly on the listing site! Even though we cannot include a quote, let's create a channel template to respond to "available and quotable" inquiries.
For detailed information about how channel templates work, check out the Channel Templates and field codes support articles.
To create a channel template, go to Settings > Templates > Channel tab > click the Create Channel Template button > select the "Inquiry" option. This will open a message editor with some sample field codes filled in.
Copy and paste the following values into your new channel template.
Name:
Available Dates Channel Template
Body:
Hi {CFIRST},
Thanks for your inquiry about {PDISPNAME}.
Your travel dates, {IARR} to {IDEP}, are available and we'd love to host you.
Feel free to book directly on {ISOURCE}.
{MYFIRST}
Channel templates also have a Preview button, so as you type, take a quick look at the preview window to get a sense of how the message will look against real inquiries.
Here is a quick look at how the above channel template looks in preview mode:
As you can see, this message is plain (no colors, images, or rich text), but that's good because it will be sent to the guest via the channel messaging platform, and the messaging platforms don't allow anything other than plain text. You want a concise message for the guest to read, and this does the trick!
Notice how we included the listing site field code {ISOURCE}? By including that, we're acknowledging where the inquiry came from, letting the potential guest that their travel dates are available, and encouraging them to go ahead and book it on the listing site.
But what about SMS? Wouldn't it be cool to fire off a short SMS text message to the guest if you can?
Replying by SMS
In certain circumstances, inquiries come in with a phone number. This typically happens when a guest is on your book-direct website or using your Book Now widget, and they include their phone number in the inquiry they submit.
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 "Inquiry" 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:
Available Dates SMS Template
To Phone Number:
{CPHONE}
Body:
Hi {CFIRST}, I got your inquiry for {PDISPNAME}. Your travel dates, {IARR} to {IDEP}, are available. Are you available to discuss? ☕
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 and channel templates in that it is much shorter. Instead, it's a quick sentence to get the guest on the phone. If you'd rather say something else - that's totally fine. For instance, you could include the website URL of your property and ask the guest to refer to that for availability. Or you could choose not to include the travel date field codes ({IARR} to {IDEP}) to send an even shorter message body.
When you create your trigger to send your SMS message template, be sure to include both Conditions of "Phone Number on File Status is Yes" and "Inquiry Status is Quotable."
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 inquiries with an "Quotable" status, and send your prepared templates
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, channel, and SMS, so we'll need to create three 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: Inquiry is received
- Add Condition > Inquiry Status is One Of > Quotable
- Add Condition > Email Address on File is One Of > Has Real Email Address
- Action: Email Templates > Available and Quotable 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 new inquiry is received or recorded in your account. Remember that inquiries can be received or recorded in different ways.
Since we are targeting "quotable" inquiries only, we want to add a "Condition" to the trigger that will stop it from sending out messages for other types of inquiries. Imagine getting an inquiry for bookable dates from a guest who met your policies, but your trigger accidentally sent out a "no, your travel dates are unavailable" message. That would not be good! Adding the Inquiry Status condition will stop that.
Furthermore, since this trigger will send an email template, we add the "Email Address on File" condition and select the "Has real email address" value. This will ensure that only inquiries that include an email address from the guest will get this trigger.
Note: You'll notice that the Email Address condition has an option for "any email address," but we don't want to use that in this case. The "any email address" option includes inquiries from channels that use a platform or proxy email address like "joe.blow.12345@messages.airbnb.com" or "joe.blow.12345@messages.booking.com." These platform/proxy email addresses aren't real. If you send messages to them, your message will be collected by the channel, stripped, re-formatted and displayed on the channel's message platform in various ways that typically don't work well for email.
You may want to add other conditions, but for now, this is enough to make our trigger send the email reply when inquiries are both "available and quotable" and have a real email address.
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 reply, select the email template and be careful not to select the channel or SMS template.
At this point, your trigger should look like this:
Nice and simple!
Below the message template drop-down, you'll notice that there are other actions you can select called:
- Create a quote must be checked if your template includes quote field codes and details.
- Mark the inquiry answered
- Mark the inquiry read
These actions do exactly what they say. When the inquiry comes in and the trigger fires, the inquiry will be marked as read/answered in the main Inquiries dashboard if those options are selected. This will help you avoid seeing or dealing with them later, as the trigger already answered them for you. However, for now, we will leave them unchecked and discuss them below in this support article's Variations section.
Note: You'll notice that the "Create a quote" action notes that your template must include quote details. By using the quote field code {QHCTAB} in the body of your template, inquiries that have the "available and quotable" status will be able to generate a quote for potential guests.
That's it! Click Save, and now you have a trigger ready to go.
But we're not done. You created templates for channel and SMS replies, so now you need to create triggers to send those, too.
Using the instructions above, create two more triggers with the same type, event, and conditions, but select the channel template and the SMS template as your "Actions" instead of email. In the Conditions section, make sure to remove the "Email Address on File" condition since channel and SMS replies don't care about the email address. There is no "Phone Number on File" condition, but that's okay because the trigger won't send an SMS reply if there's no phone number to send it to. The same is true for channel replies. If the inquiry did not come from a channel message platform (e.g., Airbnb or Booking.com messaging), the trigger will silently skip sending the reply since there is no way to send it.
All done! You now have active triggers in place that will automatically send email replies to any inquiry with "available and quotable" requests.
Variations
You may have wondered about a few things as we walked through the template and trigger configuration above.
For instance, what if the guest sent in an "available and quotable" request but also included a comment or question to which they want to know the answer before they book? Sending a message without acknowledging their comment might sound confusing, cold and unprofessional.
Or, what if it's daytime and you have time to respond versus nighttime when you can't? How does that change what you want to send?
All of these scenarios can be dealt with by creating different types of triggers with additional (or different) conditions. Here are a few variations.
If they included a comment and it's daytime
Let's start with the scenario where an "available and quotable" inquiry comes in, but it also has a comment from the guest, and it's in the middle of the daytime. In this scenario, some users or PMs don't want to fire off an auto-reply because they want to read the comment first and then reply manually. Because it's daytime, they know they will have time to read it and respond quickly.
To make this change, adjust the trigger we just created (above) and add some additional settings:
- Add Condition > Contains a Comment: No
- Add Condition > Received after: "8:00 AM"
- Add Condition > Received before: "8:00 PM"
- Action > Mark as Answered: Yes
- Action > Mark as Read: Yes
This will limit the trigger to only apply to inquiries that arrive between 8 am and 8 pm (daytime) and don't have a comment. You can, of course, adjust the received times to whatever hours you want based on your own schedule.
If they included a comment and it's nighttime
But doing a daytime-only triggers means that nighttime inquiries won't be answered at all, so now you need to handle inquiries that come in overnight.
Create a duplicate trigger using the same settings as above, but change the conditions to target nighttime:
Add Condition > Contains a Comment- Add Condition > Received after: "8:00 PM"
- Add Condition > Received before: "8:00 AM"
Action > Mark as AnsweredAction > Mark as Read
Notice that the AM and PM times are flipped around so that you are now targeting inquiries coming in after 8 PM and before 8 AM (or however you change the hours to match your own schedule). Notice that we removed the "contains a comment" condition because we don't care if it has a comment at nighttime - we just want to answer it quickly. We removed the mark as read/answered because we want the inquiry to remain unanswered so that you remember to look at it again in the morning.
You could further refine this to use a slightly different template body that has "An auto-responder sent this. We will answer your question or comment in the morning." to the body of the reply, and use this different reply if the inquiry comes in during nighttime and has a comment. This would give the guest a fast response overnight while also addressing the comment.
Sending too much information; how to limit
There may be situations where you send multiple triggers simultaneously for the same inquiry. It's rare, but it can happen.
The most common scenario is when a direct inquiry comes from your personal website, and the guest includes both their email address and phone number. If you have a trigger set up with an email reply and a second trigger set up with an SMS reply, the guest will get hit with both messages simultaneously - once in their email inbox and again on their phone from the SMS message. Maybe this is what you want, but be careful in crafting messages to accommodate these scenarios. One way of limiting this is to have two versions of the SMS trigger - one that handles when there is an email address and one that handles when there isn't.
The first trigger that handles the situation where there's an email address should use a short message that speaks to the email like this:
SMS Template > Body:
Hi {CFIRST}, I just sent you an email about your inquiry. Let me know if you don't get it, and thanks for reaching out about {PNAME}! ☕
And on the trigger settings:
Add Condition > Email Address on File: Has real email address
The second trigger that handles the situation where no email address was included should assume that the SMS message is the only thing going to the guest and use a message like this:
SMS Template > Body:
Hi {CFIRST}, thanks for reaching out about {PNAME}. Your travel dates, {IARR} to {IDEP}, are available. Are you available to discuss? ☕
And on the trigger settings:
Add Condition > Phone Number on File Status is: Yes
Adding the "Phone Number on File Status" condition on the trigger will ensure that each SMS trigger only goes out once and that they are mutually exclusive.