Integration with Make and a 3rd-party SMS service: Send an SMS to the customer when their reservation is confirmed
Video transcript: First let's create a new scenario in
Make.
The scenario will be triggered by a
newly confirmed reservation in Planyo and
will then send an SMS through a
third-party service.
In this tutorial we're using services
from Mitho SMS.
Let's add the Planyo app to the scenario.
The items starting with the word watch
are web hooks triggered by Planyo
whenever given event occurs.
Choose watch reservations confirmed.
Click on create a web hook, save it and
copy the webhook's URL to the clipboard.
Now in the Planyo back end go to
site
settings > email and SMS notifications and
at the bottom of the page click the
button notification callbacks / web hooks.
In the event called reservation
confirmed paste the webhook URL you
previously copied to the clipboard.
If
you have other webhook URLs defined for
the same event simply add a single space
character after the existing URL and
then paste the URL for your Make web
hook.
Submit the changes and go back to
continue creating the new scenario in
make.
Add the Mitto SMS module and select the
send SMS action.
In the To field choose the mobile number
sent by Planyo,
compose the text message using Planyo
fields such as resource name and
reservation ID.
Now enter a test booking in Planyo.
Note
that the SMS service will only work when
the customer enters their mobile phone
number.
We're using planyo's test payment gateway
here to simulate a credit card payment.
Now that the new reservation has been
made we can see in the log the scenario
was successful and an SMS was sent to the
customer