Skip to main content

How To Insert Custom Literals Into Templates

Template literals adhere to a predefined structure, typically denoted as {{</FIELD NAME/>}}, and they can be inserted anywhere within the message body. These placeholders will be substituted with actual data before the message is transmitted through various communication channels.

The following template literals are available for any template that you create. These template literals are available everywhere. There are a few template literals that are industry-specific that are explained below

  • First Name
  • Middle Name
  • Last Name
  • Salutation
  • Phone Number
  • Email
  • Contact Type
  • Status
  • Job Title
  • Gender
  • Preferred Language
  • Address line 1
  • Country
  • State
  • City
  • Zip code
  • Priority
  • Owner
  • Parent Account
  • External ID

Template Literals For Hospitality

There are a few template literals that relate to hospitality,

  • Booking Date
  • Room Type
  • Arrival Date
  • Arrival Time
  • Departure Date
  • Departure Time
  • Meal Plan
  • Special Instructions
  • Room Id
  • Room Nights
  • Room Price
  • Reservation Number
  • Reservation Date
  • Company Name
  • Market Segment
  • Business Source
  • SGL
  • DBL
  • TPL
  • Booking Status
  • Hotel
  • Rooms
  • Check In Date
  • Check Out Date

A few literals are exclusive to the rooms promoted in a campaign with respect to hospitality.

Deluxe room, Premier Room, Executive Room, and Presidential suite. These literals are active only when the template is connected to an active campaign.

For instance,

  • Presidential Suite.product_name
  • Presidential Suite.basePrice
  • Presidential Suite.rate
  • Presidential Suite.discount_price
  • Presidential Suite.discount_percentage
  • Presidential Suite.additionalCharges

Template literals are very helpful to create templates. Using them helps you in creating unique templates for all your customers, thereby giving them a personal touch.