Skip to main content

Use variables in notifications

With variables (also called notification parameters), you can include dynamic content such as customer name, service, ticket number and appointment time in your messages. This can give customers more relevant information and make the notifications more personal.

Example of a message with variables:

"Welcome to {{branchName}}. Your ticket number is {{ticket}}. Open this link to follow your visit online: {{mobileFullURL}}."

To insert variables in notifications:

  • For appointment notifications, find the notification you want to change and type the variable in the message where you want to place it. You can find the available variables next to the text boxes.

  • For visit and staff notifications, find the notifications you want to change and use the Insert Parameter dropdown to insert a variable.

Variable

Description

{0}

Customer first name

{1}

Customer last name

{2}

Time of appointment

{3}

Date of appointment

{4}

Service or services

{5}

Branch

{6}

Branch address

{7}

Branch phone number

{8}

Link to reschedule or cancel appointment

Note

The behavior of this variable depends on whether the External API is enabled or disabled in the System settings.

  • If the External API is enabled – The External API endpoint must be specified, since it is used to handle the rescheduling logic externally. Example URL: https://example.com/{prfLang}/appointments/{aptId}/reschedule.

  • If the External API is disabled – No additional URL configuration is required. The system will automatically redirect users to the reschedule flow in Online Booking.

{9}

Check-in QR code

{10}

Link to Mobile Ticket

{11}

Number of customers (when only one service)

{12}

Custom cancellation message, see Send custom cancellation messages

{13}

URL to online booking

{14}

Services + number of customers per service

{15}

Notification addition per service. See Appointment notifications with service-specific content

Variable

Description

{{branchId}

Branch ID, often used as part of a link.

{{branchName}}

Branch name

{{mobileBaseURL}}

Mobile Ticket Base URL, goes to the Mobile Ticket start page. E.g. https://yourserver.mobile-ticket.qmatic.io/ticket

{{mobileFullURL}}

Mobile Ticket Full URL, goes to the customer's ticket in Mobile Ticket. See Include link to view visit in Mobile Ticket in notifications

{{phoneNumber}}

Customer phone number

{{queueName}}

Queue name

{{serviceExtName}}

External service name

{{serviceIntName}}

Internal service name

{{servicePointName}}

Name of counter that called the customer. Available for Visit Update.

{{ticket}}

Ticket number

{{userName}}

Staff member that called the visit. Available for Visit Call and Visit End.

{{visitId}}

Visit ID, can be used as part of a URL.

Additionally, the following variables are available for the Visit End notification:

Variable

Description

{{branchAddress1}}

Branch address line 1

{{branchAddress2}}

Branch address line 2

{{branchAddress3}}

Branch address line 3

{{branchCity}}

Branch city

{{branchCountry}}

Branch country

{{branchPostcode}}

Branch postcode

{{primaryCustomerFirstName}}

Customer first name

{{primaryCustomerLastName}}

Customer last name

{{appointmentDate}}

Appointment date

{{appointmentTime}}

Appointment time

Table 13. Variables for SLA alerts

Variable

Description

{{branchName}}

Branch name

{{queueName}}

Queue name

{{SLA}}

SLA level set for the SLA alert

{{servicePointName}}

Service point (only relevant when alert is based on service point)

{{staffName}}

Staff member (only relevant when alert is based on service point)

{{ticket}}

Ticket number (only relevant when alert is based on service point)



Table 14. Variables for arrival alerts

Variable

Description

appointmentId

branchAddress1

Branch address line 1

branchAddress2

Branch address line 2

branchCity

Branch city

branchCountry

Branch country

{{branchEmail}}

Branch email address

{{branchId}}

Branch ID, often used as part of a link

{{branchLatitude}}

Branch latitude

{{branchLongitude}}

Branch longitude

{{branchName}}

Branch name

{{branchPhone}}

Branch phone number

{{branchPostcode}}

Branch postcode

{{customerEmail}}

Customer email address

{{customerFirstName}}

Customer first name

{{customerLastName}}

Customer last name

{{customerPhone}}

Customer phone number

{{appointmentExtId}}

External appointment ID

{{phoneNumber}}

Phone number

{{primaryResource}}

Primary resource for appointment

{{queueName}}

Queue name

{{secondaryResource}}

Secondary resource for appointment

{{serviceExtName}}

External service name

{{serviceIntName}}

Internal service name

{{ticket}}

Ticket number

{{time}}

Appointment time