chatlyn Logo academy Go to homepage

My-Bookings Integration (Phoenix)

Last updated on · Integration · PMS

Steps

Go to Settings -> Message Hooks and create a Message Hook

Click on "Next".

Paste the payload (found under “More info”) into the JSON Payload field. Then click on "Next".

{
  "channel": "MB",
  "language": "de",
  "url_parameter_wa_button": "booking-111111-11111XYZ.info",
  "url_parameter_wa_button_guest_registration": "DH8OZDBDDCDH8OZDBDDC.mb",
  "booking_phone": "+43660111111",
  "booking_email": "",
  "booking_guest_name": "Max Mustermann",
  "booking_customer_name": "Max Mustermann",
  "booking_company_name": "Testfirma",
  "booking_people": 2,
  "booking_arrival": "19.03.2024",
  "booking_departure": "20.03.2024",
  "booking_arrival_iso": "2024-03-19",
  "booking_departure_iso": "2024-03-20",
  "booking_address": "Teststrasse 12",
  "booking_zipcode": "12345",
  "booking_city": "Wien",
  "booking_countrycode": "AT",
  "booking_id": "1133513",
  "booking_nr": "VfBrmqfd40caf36cb210b27078c8bbd3103fe9NexqpBwk2JNs",
  "booking_id_extern": "",
  "booking_pincode": "58247RYAV",
  "booking_keycode": "475469",
  "booking_categoryname": "Deluxe",
  "booking_categoryname_english": "Deluxe",
  "link_infopage": "https://www.my-bookings.cc/guest/booking-111111-1111XYZ.info",
  "link_infopage_short": "https://agcd.at/DH8OZDBDDCDH8OZDBDDC-v2",
  "link_guestregistration": "https://www.my-bookings.cc/guest-registration/DH8OZDBDDCDH8OZDBDDC.mb",
  "link_guestregistration_short": "https://agcd.at/DH8OZDBDDCDH8OZDBDDC-v2",
  "booking_outstanding_balance": "200",
  "booking_total_amount": "200",
  "booking_local_tax": "0",
  "booking_advance_payment": "0",
  "room_name": "Booking.com Single Room",
  "room_street": "asdf",
  "room_street_nr": "2",
  "room_zip": "323",
  "room_city": "afads",
  "room_name_intern": "LAX61/Z1",
  "room_block": "",
  "room_floor": "",
  "room_door_nr": "",
  "room_studio_nr": "23",
  "room_address_maindoor": "asdf 2, 323 afads",
  "link_add_to_google_calendar": "https://calendar.google.com/calendar/render?action=TEMPLATE&text=Deluxe&dates=20240319T140000Z/20240320T100000Z&ctz=Europe/Vienna",
  "room_info1": "rqwer",
  "room_info2": "qerq",
  "room_info3": "",
  "room_info4": "",
  "room_info5": "",
  "room_info6": "",
  "room_info7": "",
  "room_info8": "",
  "room_info9": "",
  "room_info10": ""
}

Select the template you want to send (e.g., a booking confirmation) and map the fields.
Important: Select booking_phone for Phone number and language for Language.
Then click “Next.”

We suggest:

  • language
  • url_parameter_wa_button
  • url_parameter_wa_button_guest_registration
  • booking_phone
  • booking_email
  • booking_customer_name
  • booking_arrival
  • booking_departure


Depending on your goal, you may want to select additional fields.

If you want, you can send a test to your number; otherwise, click “Next.”

Give the Message Hook a name and/or description, then click “Create and enable Message Hook.”

Open my-bookings.cc in your browser and go to PMS -> Nachrichtenautomatik (Email/SMS) -> Regeln. Then, edit the rule where you want to send a WhatsApp template.

Tick the checkbox "WhatsApp (Chatlyn)" and save the rule.

Next, we will need to add the endpoint url from chatlyn to the template in my-bookings.
To do this, go to PMS -> Nachrichtenautomatik (Email/SMS) -> Vorlagen and edit the template used in the rule from the previous step.

There, you will find the section "WhatsApp Url chatlyn." Paste the URL from your Message Hook settings in chatlyn (see screenshot) and save the template.

You are now sending WhatsApp templates automatically. It’s best to make a test booking in My-Bookings with your number to check if it works.

This website is using cookies.

The website itself only uses one general necessary session cookie for the system. Activating external media cookies will allow to load embedded youtube.com videos.

This website is using cookies.

The website itself only uses one general necessary session cookie for the system. Activating external media cookies will allow to load embedded youtube.com videos.

Your cookie preferences have been saved.