SMS variables

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.

A screenshot of SMS variables being used in an SMS message template.

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.

NoteAn SMS variable will not load properly if any additional text, HTML, CSS, or JavaScript code is placed inside of the square brackets of the variable.

NoteIf 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.

In this article

    Variables applicable to all SMS types

    VariableDescription
    [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 that clients can click to unsubscribe from your business’s notifications.

    NoteCurrently, if a client clicks the link generated by this variable, they will only be unsubscribed from email notifications. For a client to unsubscribe from SMS messages, they must reply STOP to an SMS message they have received or modify their notification settings.

    Variables applicable to specific SMS types

    VariableDescription
    [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.
    [WeekDay]The day of the week when the service will take place.
    Was this article helpful?
    (93 out of 93 people found this article helpful )

    What can we do better?

    Thank you!

    Contact Us

    Having trouble finding the answer you're looking for? Check out our Support Center or let us know how we can help.