We connect to the Mews Distribution API to seamlessly pull rates and availability, displaying them directly within the Myma.ai Chatbot. When a customer inquires about rooms, they can instantly view current rates and availability without leaving the chat experience. By clicking "Book Now," they are taken straight to your online booking engine to complete their reservation.
Setup
Setup is quick!
1. Head to Connect -> Applications
2. Click on Mews -> Connect
3. Enable the Booking Engine option, and add the following information, which you can get from Mews
Booking Engine Client
Configuration Id
Hotel Id
If you cannot find this info go to the bottom of the article to see help.
Rooms Setup
Ensure your rooms are already set up in the Myma.ai Dashboard. Navigate to Knowledge Hub -> Rooms, and map each room in Myma.ai to its corresponding entry from Mews. The Mews room list is pulled directly via API, so it will match what you currently see in your Mews system.
Prerequisite
This setup should already be in place, but please double-check that the Booking Engine integration under Application is configured correctly with the appropriate URL parameters.
It's Live!
Next, go to your Chatbot and test by checking available and booked dates. This will help you confirm that the prompts display accurately, reflecting the real-time availability and rates from Mews and your Booking Engine.
How to find Mews API parameters
You can follow these steps to find the required parameters:
Open your Online Booking Engine
Right-click and Inspect
Go to the Network tab
Click on the option to check availability in your Booking Engine
Go to the Network tab and look for getAvailability or one of the other Mews endpoints
Under Payload, you will see what you need.
Get in touch with the Myma.ai team if you need help setting this up.
The payload will look like this example below:
{
"Client":"ROCKSOLID-HOTEL-NAME-AKL",
"ConfigurationId":"28218479-916b-4000-9762-b12e008326f1",
"HotelId":"46d452dc-fef4-4717-a886-b07e008314wc",
"CurrencyCode":"AUD",
"AdultCount":2,
"ChildCount":0,
"StartUtc":"2024-11-14T15:00:00+10:00",
"EndUtc":"2024-11-15T11:00:00+10:00"
}