Skip to main content
SMS variables
Updated over a week ago

SMS variables can be used in your automated notifications and automated marketing campaigns to add customized details to your message. All variables are enclosed within square brackets to distinguish them from regular text. These variables also apply to push notifications.

For example, when you send a client the Purchase Receipt SMS notification, the variables [PurchaseItem], [Purchase], [DateDaySms], and [PayMethod] are included by default. The template will replace each of these variables with real information when the notification is generated, creating a customized SMS message.

SMS messages and push notifications have certain character limitations. For more information, see SMS character limitations.

Each automated marketing campaign type has its own SMS variables. For more information, see Automated marketing campaign types.

You can also send customized emails by using email variables. For more information, see Email variables.

Key tips before you begin

  • An SMS variable won't load properly if any additional text, HTML, CSS, or JavaScript code is placed inside of the square brackets of the variable.

  • If an SMS fails to send for any reason, the variables in the SMS might not populate the client’s information properly. If this occurs, the variable names in square brackets will be displayed.

Variables applicable to all SMS types

Variable

Description

[CurrentdateLong]

The date in the following format: May 15th, 2015.

[CurrentdateShort]

The date in the following format: 2015/05/15.

[Currentday]

The day of the week the SMS is sent on. For example, Monday.

[Firstname]

The first name of the SMS recipient.

[Fullname]

The first and last name of the SMS recipient.

[Lastname]

The last name of the SMS recipient.

[Unsubscribe]

A link clients can click to unsubscribe from your business’s notifications.

Variables applicable to specific SMS types

Variable

Description

[AddOn]

Generates a list of add-ons purchased for an appointment. Used in appointment notifications.

[CancelReason]

The reason entered by the staff member when canceling an appointment booking. This variable can be used in the Appointment Canceled By Staff and Recurrent Appointment Canceled by Staff client notifications.

[DateDay]

The date of the service.

[DateRange]

The date range during which the session is available.

[DateTime]

The time of the service.

[DateTimeSms]

The time of the service formatted for SMS.

[Delay]

The number of days, months, or years since the client last booked or checked in.

[Duration]

The duration or length of time of the service.

[DurationDelay]

The time units (days, months, or years) for the [Delay] variable. For example, if you want to write 5 months, you can enter the number 5 in the [Delay] variable and the word months in the [DurationDelay] variable.

[End]

The end date of the service.

[ExpirationDate]

The expiration date of the session pass or membership.

[Location]

The location name for the specific location referred to in the SMS.

[LocationAddress]

The location address for the specific location referred to in the SMS.

[LocationCity]

The city that the specific location referred to in the SMS is within.

[LocationCountry]

The country that the specific location referred to in the SMS is within.

[LocationPostalcode]

The postal code for the specific location referred to in the SMS.

[LocationRegion]

The state or province that the specific location referred to in the SMS message is within.

[PurchaseOption]

The Purchase Option used to book the service.

[RecordedSessionUrl]

A link that clients can click to view a video of the recorded session.

[Room]

The room in which the service will be held.

[Sender]

The name of the sender.

[Service]

The name of the service associated with the SMS.

[ServiceType]

The type of the service.

[Special]

Any special instructions associated with the service.

[Staff]

The name of the staff member associated with the service.

[Start]

The start date of the service.

[UrlBook]

The link to start booking process.

[UrlCancel]

A link that clients can click to cancel the service.

[UrlConfirm]

A link that clients can click to confirm the service.

[WeekDay]

The day of the week when the service will take place.

Did this answer your question?