How to use the email tokens

Blanca Castillo
Blanca Castillo
  • Updated

Where can I find it?

Account> Templates> Email Templates:

7cf87ae7-2e67-47a5-a253-bd5d8448575c.png

 

What does it mean?

Tokens serve as placeholders for dynamic content in personalized customer emails.

The available tokens vary by email template; not all tokens apply to every template.

For tokens to use on the PDF ticket, visit the following support article.

Below are all email templates and their usable tokens:

Email: Ticket online, box office ticket and scheduled email

Description Email token

Example

Name of the owner

{{OWNER_NAME}}

Palisis Sightseeing

Customer service email

{{CUSTOMER_CARE_EMAIL}}

info@palisis.com

Customer service phone

{{CUSTOMER_CARE_PHONE}}

+41 44 533 40 40

Passbook link by ticket

{{PASSBOOK_LINK_BY_TICKET}}

ℹ️

Info: Only for online tickets (Webshop)

Primary background color

{{LAYOUT_PRIMARY_BG}}

 

Main text color

{{LAYOUT_MAIN_TEXT_COLOR}}

 

Background color in dark mode

{{LAYOUT_DARK_BG_COLOR}}

 

Main text color in dark mode

{{LAYOUT_DARK_MAIN_TEXT_COLOR}}

 

Background color in light mode

{{LAYOUT_LIGHT_BG_COLOR}}

support@palisis.com

Background color with error

{{LAYOUT_ERROR_BG_COLOR}}

 

Gray background color

{{LAYOUT_GRAY_BG_COLOR}}

 

Gray border color

{{LAYOUT_GRAY_BORDER_COLOR}}

 

Gray light color

{{LAYOUT_GRAY_LIGHT_COLOR}}

 

Blue border color

{{LAYOUT_BLUE_BORDER_COLOR}}

 

Gray dark background color

{{LAYOUT_GRAY_DARK_BACKGROUND}}

 

Owner email

{{OWNER_EMAIL}}

support@palisis.com

Owner phone

{{OWNER_PHONE}}

+41 44 533 40 40

Owner Country

{{OWNER_COUNTRY}}

Switzerland

List of entries

{{ENTRIES}}

 

Uid of the entry

{{ENTRY}}.uid

 

Owner logo name

{{ENTRY}}.owner.logoName

<img src="${contextUrl}/bo/public/barcode.png?size=100&qrcontent=${entry.owner.logoName}"> 

 
 

Owner street and house number

{{ENTRY}}.owner.address1

Florastrasse 18a

Owner zip code and city

{{ENTRY}}.owner.address2

8610 Uster

QR uid of the entry

{{ENTRY}}.qrUid

 

Name of the item in the entry

{{ENTRY}}.itemName

 

Image URL of the entry

{{ENTRY}}.imageUrl

 

Show if the entry is fully paid

{{ENTRY}}.isFullyPaid

 

Show if the entry is voucher

{{ENTRY}}.isVoucher

 

Subtotal

{{SUB_TOTAL}}

EUR 40.00

Discount amount

{{SUB_DISCOUNT}}

EUR 1.00

Total

{{TOTAL}}

EUR 39.00

List of refunds

{{REFUNDS}}

 

Uid of the refund

{{REFUND}}.refundUIDs

 

Refund total amount

{{REFUND}}.totalText

EUR 40

List of VATs

{{VATS}}

 

Description of the VAT

{{VAT}}.vatDescription

 

Passenger company

{{PASSENGER_DATA[COMPANY]}}

Palisis

Passenger name

{{PASSENGER_DATA[NAME]}}

John Smith Smith

Passenger street and house numbre

{{PASSENGER_DATA[ADDRESS1]}}

Florastrasse

18a

Additional address information

{{PASSENGER_DATA[ADDRESS2]}}

 

Passenger zip code

{{PASSENGER_DATA[ZIP]}}

8610

Passenger city

{{PASSENGER_DATA[CITY]}}

Uster

Passenger Country

{{PASSENGER_DATA[COUNTRY]}}

Switzerland

Passenger state

{{PASSENGER_DATA[STATE]}}

 

Passenger email

{{PASSENGER_DATA[EMAIL]}}

john@palisis.com

Passenger phone

{{PASSENGER_DATA[PHONE]}}

+41 44 533 4040

Passenger Nationality

{{PASSENGER_DATA[NATIONALITY]}}

Swiss

Passenger passport

{{PASSENGER_DATA[PASSPORT]}}

A123456

Passenger language

{{PASSENGER_DATA[LANGUAGE]}}

German

Passenger date of birth

{{PASSENGER_DATA[DATE_OF_BIRTH]}}

01/01/2001

Passenger age

{{PASSENGER_DATA[AGE]}}

40

 

Passenger airline information

{{PASSENGER_DATA[AIRLINE]}}

Air France

Passenger flight number

{{PASSENGER_DATA[FLIGHT_NUMBER]}}

21221

Passenger luggage information

{{PASSENGER_DATA[LUGGAGE]}}

Yes

Passenger pets information

{{PASSENGER_DATA[PETS]}}

Dog

Passenger comments

{{PASSENGER_DATA[COMMENT]}}

Wheelchair

Message with date of book and create.

{{TICKET_BOOKED_AND_CREATED_MESSAGE}}

 

 

Email: Booking info and booking cancel info

Description

Email token

Example

UID of the booking

{{BOOKING_UID}}

J1CI08QT1500082NPKR8

Time of the booking

{{BOOKING_TIME}}

18/02/2025

Sales channel

{{CHANNEL}}

Boxoffice, Webshop, etc.

Status of the booking

{{BOOKING_STATUS}}

Booked, reserved, cancelled, etc.

Customer information

{{CUSTOMER_DATA}}

John Smith Smith

john@palisis.com

Customer comments

{{CUSTOMER_COMMENT}}

Passenger with wheelchair

List of booking entries

{{BOOKING_ENTRIES}}

QR08QT6EBCM, QR08QT05BCN

UID of each booking entry

{{BOOKING_ENTRY}}.bookingEntryUid

K1CQ08QT1A00008G5E20N

Operation line name of each booking entry

{{BOOKING_ENTRY}}.opLineName

Hop on hop off

Selected event of each booking entry

{{BOOKING_ENTRY}}.selectedEvent

09:00

Pick up info of each booking entry

{{BOOKING_ENTRY}}.pickupInfo

Hotel Marriot

Price plan name of each booking entry

{{BOOKING_ENTRY}}.priceplanName

24 hours ticket

Passenger category name of each booking entry

{{BOOKING_ENTRY}}.passCatName

Adult

Seat category name of each booking entry

{{BOOKING_ENTRY}}.seatCatName

Standard

Passenger name

{{PASSENGER_DATA[NAME]}}

John Smith Smith

Passenger company name

{{PASSENGER_DATA[COMPANY]}}

Palisis

Passenger email

{{PASSENGER_DATA[EMAIL]}}

john@palisis.com

Passenger first address

{{PASSENGER_DATA[ADDRESS1]}}

Florastrasse

18a

Passenger second address

{{PASSENGER_DATA[ADDRESS2]}}

 

Passenger zip code

{{PASSENGER_DATA[ZIP]}}

8610

Passenger city

{{PASSENGER_DATA[CITY]}}

Uster

Passenger country

{{PASSENGER_DATA[COUNTRY]}}

Switzerland

Passenger state

{{PASSENGER_DATA[STATE]}}

 

Passenger phone

{{PASSENGER_DATA[PHONE]}}

+41 44 533 4040

Passenger nationality

{{PASSENGER_DATA[NATIONALITY]}}

Swiss

Passenger passport

{{PASSENGER_DATA[PASSPORT]}}

A123456

Passsenger language

{{PASSENGER_DATA[LANGUAGE]}}

German

Passenger age

{{PASSENGER_DATA[AGE]}}

01/01/2001

Passenger date of birth

{{PASSENGER_DATA[DATE_OF_BIRTH]}}

40

 

Passenger airline

{{PASSENGER_DATA[AIRLINE]}}

Air France

Passenger flight number

{{PASSENGER_DATA[FLIGHT_NUMBER]}}

21221

Passenger luggage information

{{PASSENGER_DATA[LUGGAGE]}}

Yes

Passenger comments

{{PASSENGER_DATA[COMMENT]}}

Wheelchair

Passenger pets information

{{PASSENGER_DATA[PETS]}}

Dog

Primary background color

{{LAYOUT_PRIMARY_BG}}

 

Main text color

{{LAYOUT_MAIN_TEXT_COLOR}}

 

Background color in dark mode

{{LAYOUT_DARK_BG_COLOR}}

 

Main text color in dark mode

{{LAYOUT_DARK_MAIN_TEXT_COLOR}}

 

Background color in light mode

{{LAYOUT_LIGHT_BG_COLOR}}

 

Background color with error

{{LAYOUT_ERROR_BG_COLOR}}

 

Gray background color

{{LAYOUT_GRAY_BG_COLOR}}

 

Gray border color

{{LAYOUT_GRAY_BORDER_COLOR}}

 

Gray dark background color

{{LAYOUT_GRAY_DARK_BACKGROUND}}

 

Gray light color

{{LAYOUT_GRAY_LIGHT_COLOR}}

 

Blue border color

{{LAYOUT_BLUE_BORDER_COLOR}}

 

 

Email: Reservation

Description

Email token

Example

Name of the owner

{{OWNER_NAME}}

Palisis Sightseeing

Customer service email

{{CUSTOMER_CARE_EMAIL}}

info@palisis.com

Customer service phone

{{CUSTOMER_CARE_PHONE}}

+41 44 533 40 40

Primary background color

{{LAYOUT_PRIMARY_BG}}

 

Main text color

{{LAYOUT_MAIN_TEXT_COLOR}}

 

Background color in dark mode

{{LAYOUT_DARK_BG_COLOR}}

 

Main text color in dark mode

{{LAYOUT_DARK_MAIN_TEXT_COLOR}}

 

Background color in light mode

{{LAYOUT_LIGHT_BG_COLOR}}

 

Background color with error

{{LAYOUT_ERROR_BG_COLOR}}

 

Gray background color

{{LAYOUT_GRAY_BG_COLOR}}

 

Gray border color

{{LAYOUT_GRAY_BORDER_COLOR}}

 

Gray light color

{{LAYOUT_GRAY_LIGHT_COLOR}}

 

Blue border color

{{LAYOUT_BLUE_BORDER_COLOR}}

 

Gray dark background color

{{LAYOUT_GRAY_DARK_BACKGROUND}}

 

 

Email: External and Internal cooperation request

Description

Email token

Example

Name of the partner

{{PARTNER_NAME}}

Star Travel Tours

URL to accept the partnert request

{{ACTIVE_URL}}

 

Name of the owner

{{OWNER_NAME}}

Palisis Sightseeing

Primary background color

{{LAYOUT_PRIMARY_BG}}

 

Main text color

{{LAYOUT_MAIN_TEXT_COLOR}}

 

Background color in dark mode

{{LAYOUT_DARK_BG_COLOR}}

 

Main text color in dark mode

{{LAYOUT_DARK_MAIN_TEXT_COLOR}}

 

Background color in light mode

{{LAYOUT_LIGHT_BG_COLOR}}

 

Background color with error

{{LAYOUT_ERROR_BG_COLOR}}

 

Gray background color

{{LAYOUT_GRAY_BG_COLOR}}

 

Gray border color

{{LAYOUT_GRAY_BORDER_COLOR}}

 

Gray light color

{{LAYOUT_GRAY_LIGHT_COLOR}}

 

Blue border color

{{LAYOUT_BLUE_BORDER_COLOR}}

 

Gray dark background color

{{LAYOUT_GRAY_DARK_BACKGROUND}}

 


 

What should I do?

You can use these tokens on the email templates created in Account> Templates> Email Templates

7cf87ae7-2e67-47a5-a253-bd5d8448575c.png

For more information about this topic, please visit our support article about How to configure "Email templates".

Important: Please note that all entries, such as {{ENTRY}}.imageUrl, must be inside a loop of {{ENTRIES}}

<td style="font-size: 0px; padding: 10px 25px; word-break: break-word;" align="left"> 
#foreach( {{BOOKING_ENTRY}} in {{BOOKING_ENTRIES}} )     
  <div style="font-family: courier; font-size: 15px; line-height: 1; text-align: left; color: #173557;">   
  <strong>Ticket Number: {{BOOKING_ENTRY}}.bookingEntryUid</strong><br>
  Operation Line: {{BOOKING_ENTRY}}.opLineName<br>       
  #if ({{BOOKING_ENTRY}}.selectedEvent)         
    Selected Event: {{BOOKING_ENTRY}}.selectedEvent<br>       
  #end       
  #if ({{BOOKING_ENTRY}}.pickupInfo)         
    Pickup: {{BOOKING_ENTRY}}.pickupInfo<br>       
  #end       
    Priceplan: {{BOOKING_ENTRY}}.priceplanName<br>       
    Passenger Category: {{BOOKING_ENTRY}}.passCatName<br>       
    Seat Category: {{BOOKING_ENTRY}}.seatCatName<br> 
    Image: {{ENTRY}}.imageurl<br>
  <br>     
  </div>     
  <br>   
#end 
</td>