Communications

WhatsApp Bot

← Back to Communications

WhatsApp is the main way the app talks to guests and teammates. Guests write to your WhatsApp number. The app saves each message, checks the language and mood, and shows it to you. Messages from the app (task notifications, check-in instructions, reminders before check-out) go out from the same number.

Set up your WhatsApp connection

Each account has its own connection to WhatsApp Business (the Meta service that lets the app send and receive messages). You copy four values from Meta and paste them in Settings → Integrations:

  • Phone number ID: the ID Meta gives your number. The app uses it to find your account.
  • Business account ID: the Meta business account the number belongs to.
  • Verify token: a code Meta uses to confirm the connection.
  • Access token (secret): the code the app uses to send messages through WhatsApp.

⚠ If the Phone number ID is empty, every incoming message is dropped without any warning. After setup, admins should check that it is filled in.

Meta needs one link, so it knows where to send the guests' messages. The same link is listed in Settings → Integrations. Paste it in the Meta settings for your number:

https://app.luxury.host/api/webhooks/wa/t/<tenant-slug>

The link is your own address. The last part, <tenant-slug>, is your account name in the app, so the app knows which account each message belongs to. The app also checks that each message really comes from Meta for your account.

What happens when a message arrives

  1. The message is saved.
  2. The app detects the guest's language and saves it, if it is more certain than before.
  3. The AI reads the mood and the type of message and saves them on the booking.
  4. Tasks that close automatically based on these are checked again.
  5. The message shows in:
  • The chat tab of the booking
  • The WA Comm screen
  • The Pulse "recent messages" card (if the AI was not sure enough to reply)

Messages the app sends

Free text (inside the 24h window)

A teammate's reply, an accepted AI draft, or a task that sends a custom message: all go as free text when the person wrote to you in the last 24h.

Templates (outside the 24h window, or for sensitive messages)

Templates are ready-made messages that Meta has approved. They have blanks (shown as {{1}}) that the app fills in when it sends, for example the guest's name. There are three kinds:

  • Check-in message (checkin_instructions): used for Send Check-in when free text is not possible.
  • Task notice (task_notification_v2): tells a teammate about a task, with up to 3 buttons.
  • Notice to you (task_resolved): tells you that a task is done, when the 24h window is closed.

Buttons

A template can have up to 3 reply buttons. When the person taps a button, it comes in as a normal message marked with that button, and the app links it to the right task.

Message accepted but not delivered (closed window)

Outside the 24h window, Meta can say it accepted a free-text message and still not deliver it to the guest. When free text does not go through, the app sends the message again as a template.

If a guest says they got no message, check:

  1. Admin → Activity Log: was the message recorded?
  2. Admin → Webhook Logs: did Meta say it accepted the message?

Messages from teammates

Cleaners and hosts write to the same number with status updates and photos. The app knows them by their phone number and sends each message to the right place.

The cleaner WhatsApp walkthrough is its own step-by-step chat. See Team & Access → Cleaner Walkthrough.

Source: the luxury.host operator manual.