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: Remind Cleaning Staff About the Next Cleaning Date
Keeping your cleaning staff in the loop about the next scheduled cleaning date is imperative! You'll want to notify your cleaners about special preparations for an upcoming booking prior to guest check-in. 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 Template to Remind Cleaning Staff About the Next Cleaning Date
- Create a Trigger that Applies to a Booking to Remind Your Cleaning Staff About the Next Cleaning Date
Create a Booking Template to Remind Cleaning Staff About the Next Cleaning Date
Go to Settings > Templates to configure the message you want to send. Since this template will be used for bookings, create a "Booking" type of template.
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, you'll need your cleaners' contact information you can send the message to. For instance, if you want to send an SMS message, you'll need your cleaners' cell phone number.
Notifying 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 and field codes work, check out the email templates overview article and field codes articles.
Copy and paste the following values into your new email template.
Name:
Remind Cleaning Staff About the Next Cleaning Date Email Template
From Name:
{MYCOFULL}
From Address:
{MYEMAIL}
To Name:
Cleaner Name
To Address:
Cleaner email address
Subject:
Cleaning Reminder:{BCHECKOUTTIME}, {BDEP} at {PDISPNAME}
Body:
Hi Cleaner name,
Just a reminder about the next cleaning date:
{BCHECKOUTTIME}, {BDEP} at {PDISPNAME}
Thanks!
{MYFIRST}
If you're wondering what those field codes do, check out the field codes support article or use the "Preview" button on the template 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, and dates booked, so it will match the guest booking. It includes the property name {PDISPNAME}, departure date {BDEP}, and guest checkout time {BCHECKOUTTIME} field codes. In other words, it looks like a hand-written manual response, even though it wasn't.
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 notify your cleaning staff about special preparations, in this case, a reminder about the next cleaning date. If this template is used for a guest, the message body would be confusing to your guest. Similarly, if you do not include the {BCHECKOUTTIME} checkout time, the {BDEP} departure date, and the {PDISPNAME} property name field codes in either the Subject field or body of the email template, the cleaner will not see property or departure date or checkout time displayed.
Optionally, if you use the {BCLEANDATE} cleaning date field code that is manually set in individual OwnerRez bookings, you could include that as well.
We are now armed with a solid email reminder for cleaners about an upcoming cleaning date. But what about sending an SMS message to notify cleaners of any special preparations?
Notifying by SMS
If you have your cleaners' cell phone number, let's put it to good use by reminding them about the next cleaning date.
Using our SMS premium feature, you can notify them directly via SMS to their cell phone. 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:
Remind Cleaning Staff About the Next Cleaning Date SMS Template
To Phone Number:
Cleaner cell phone number
Body:
Cleaner first name, just a quick reminder about the next cleaning date: {BCHECKOUTTIME}, {BDEP} at {PDISPNAME}. 🧹
Once again, smack that Preview button to see how this looks live! SMS templates 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. Instead, it's a quick sentence to notify your cleaner about the holiday decorations. If you'd rather say something else - that's totally fine.
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 a New Booking to Remind Your Cleaning Staff About the Next Cleaning Date
Since each trigger can only send one message template, you'll need to create a trigger for each type of message you send. Above, we crafted messages 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: Scheduled Time
- Event: 1 day > Before > Booking has departed > at 12:00 PM
- Action > Email Templates > Remind Cleaning Staff About the Next Cleaning Date Email Template
Now, let's talk about what the above settings mean!
The Type and Event fields will make the trigger run 1 day before the guests depart at 12:00 PM.
You may want to add other conditions, but for now, this is enough to make our trigger send the email message to notify cleaners about the next cleaning date.
But what if you have more than one property, and each property has a different cleaning staff? You'd have to add the Condition of "Property is Only" and select those specific properties to ensure that the correct cleaning staff is notified for the properties that they maintain only.
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 the SMS template.
At this point, your trigger should look like this:
Nice and simple!
These actions do exactly what they say.
That's it! Click Save, and now you have a trigger ready to go.
But we're not done. You created a template for an SMS message too, so now you need to create a trigger to send that.
Using the instructions above, create one more trigger with the same type, event, and conditions, but select the SMS template as your "Action" instead of email.
There is no "Phone Number on File" condition, but that's okay because the trigger won't send an SMS message if there's no phone number to send it to. And we manually entered our cleaner's cell phone number in the Phone Number Field. The trigger will silently skip sending a message if there is no way to send it.
All done! You now have active triggers in place that will automatically notify your cleaning staff about the next cleaning date.