Skip to content

Dynamic fields in messages: guest name, dates, and property with the { } button

ConfigurationVerified on 3 min read

How to insert dynamic fields (variables or placeholders) such as guest name, stay dates, property, and discount code into Smartconnect email and WhatsApp messages using the { } button, what happens if data is missing, and why SmartPMS and SmartChat placeholders do not work in Smartconnect.

You are in the right place if…10 cases
  • “How do I insert the guest's name into the message?”
  • “The name does not appear after Dear in the sent message”
  • “The variable is not replaced and the word Property appears”
  • “SmartPMS placeholders do not work in Smartconnect”
  • “A dash appeared in the message instead of the date”
  • “Where can I find the list of available variables?”
  • “The variables {{1}} {{2}} do not work”
  • “How do I put the discount code in the automatic message?”
  • “The button link does not work because it contains a variable”
  • “By choosing the field from the { } button, {{guest_name}} appears in the text and not a number”

Dynamic fields (also called variables or placeholders) make the message personal: at the time of sending, Smartconnect replaces each field with the guest's, booking's, or property's data. They only work if you insert them from the official list.

Inserting a dynamic field

  1. Open the message in Message Library.
  2. Place the cursor where you want the data.
  3. Click the { } button: the panel with all available dynamic fields (guest, booking, property, discount code, and others) will open.
  4. Click the field you need: it will be inserted into the text with its name.
  5. Repeat for each language of the message and check the preview.

Do not type the fields by hand and do not copy them from other programs: a manually typed field, even with the correct name, may not be recognized and reach the guest as it is.

Fields other than SmartPMS and SmartChat

Smartconnect, SmartPMS, and SmartChat each have their own dynamic fields. Placeholders copied from a SmartPMS or SmartChat template do not work in Smartconnect: replace them with those from the { } button. If the property uses SmartPMS, additional SmartPMS booking fields may also appear in the list.

WhatsApp: named fields

In Smartconnect WhatsApp templates, fields have a name (for example, the guest's name) and not a number. Numbered variables like {{1}} or {{2}} are not used: if you import a template with numbered variables from Meta, it must be recreated with dynamic fields.

If the data is missing

If the data is missing for a guest (for example, the booking has no name or date), a dash "-" appears in its place. This is to prevent the sending from being blocked: WhatsApp does not accept empty fields. To avoid this:

  • use fields that the PMS always transmits (stay dates, property name);
  • write sentences that remain readable even with the dash;
  • check in the contact card which data arrives from the PMS.

Dynamic fields in automations: they depend on the trigger

Each automation trigger only populates certain fields: for example, the Guest (birthday) trigger does not have stay dates. When you choose a message in an automation, Smartconnect checks which fields the trigger actually populates:

  • a message that uses fields that the trigger would leave empty remains selectable, but it is marked with Missing values and a warning indicates which fields and in which languages;
  • as long as that message is active in the automation, the automation cannot be saved: choose another message, correct the message in the Library, or deactivate it.

The Unsubscribe Link is populated by both the Booking trigger and the Guest trigger, so you can use it in any automation.

The dash described above applies instead to fields that the trigger populates, but which are empty for a single guest.

In buttons and links, use complete and verified addresses. If a link contains a dynamic field, test the message with a test send to check that the link opens.

Before activating

Send a test or make a test booking and check that all fields are replaced in every language.

  • Last updated: