Email variables

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

For example, in the introduction of the Purchase Receipt email notification, the variables [Fullname], [Purchase], [Date], 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 email message.

A screenshot of the email editing interface.

When creating an email template, please remember that there is a character limit of 102,400 characters and that we recommend you do not use complicated HTML code, JavaScript, or loading scripts in email templates, as these are not supported by all mail receivers.

You can also send customized SMS messages by using SMS variables. For more information, see SMS variables.

NoteAn email 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 you want to change the styling of a variable, such as making the text bold, italic, or underlined, you must select the entire variable including the square brackets before applying your changes in the text editor.

Note You can send a test email when editing the custom email template by clicking Send test email and entering a receiving email address. If you send a test email to a client or staff member with a profile on WellnessLiving, the test email isn’t affected by the client notification settings or staff notification settings. When you send a test email, some of your email variables will populate with placeholder information. For example, the [PasswordMessage] variable populates as 0123456789.

In this article:

    Variables applicable to all email types

    The following table provides a complete list of variables that you can use in all email types.

    VariableDescription
    [ButtonUnsubscribe]A button that clients can click to unsubscribe from your business’s notifications.
    [CurrentdateLong]The date in the following long format: May 15th, 2015.
    [CurrentdateShort]The date in the following condensed format: 2015/05/15.
    [Currentday]The day of the week the email is sent on. For example, Monday.
    [Firstname]The first name of the individual to whom the email is addressed.
    [Fullname]The first and last name of the individual to whom the email is addressed.
    [Lastname]The last name of the individual to whom the email is addressed.
    [Logo]The logo for your business set on the Look and Feel page.
    [Signature]The business email signature, as input under Setup > Business > E-Mail Settings.
    [Unsubscribe]A link that clients can click to unsubscribe from your business’s notifications.

    Variables applicable to specific email types

    The following table provides a complete list of email variables you can use in specific email types.

    VariableDescription
    [Activation]The date on which the item was activated.
    [Add]The date the new review was added.
    [Address]The address of the location at which the sale happens.
    [Advertisement]The advertisement message as configured under Setup > Store > Gift Card.
    [Amount]The amount of the payment that was attempted.
    [AnniversaryYear]The number of years the customer has been a member of the business.
    [Barcode]The barcode of the gift card.
    [BillingTab]Generates a link to the billing tab of the client’s profile.
    [Business]The business’s identifying number.
    [BusinessAddress]The main address for the business.
    [BusinessCity]The city that the business’s main address is within.
    [BusinessCountry]The country that the business’s main address is within.
    [BusinessId]The business’s ID number.
    [BusinessName]The name of the business, as input under Setup > Business > General Information.
    [BusinessPhone]The phone number for the business.
    [BusinessPostal]The postal code for the business’s main address.
    [BusinessRegion]The state or province that the business’s main address is located in.
    [BusinessUrl]The main URL for the business.
    [ButtonApprove]A button that staff members can click to approve an appointment.
    [ButtonBook]A button that clients can click to book a service.
    [ButtonCancel]Generates a button that clients can click to cancel the service.

    If you have the business policy Require clients to sign in when they are canceling or confirming a session set to ON for your entire business, clients will be required to sign in to their account with your business when they click this button. Additionally, if you have this option enabled for a specific service type, clients will be required to sign in to their account with your business when they click this button in emails relating to that type of service.

    [ButtonConfirm]Generates a button that clients can click to confirm the service.

    If you have the business policy Require clients to sign in when they are canceling or confirming a session set to ON for your entire business, clients will be required to sign in to their account with your business when they click this button. Additionally, if you have this option enabled for a specific service type, clients will be required to sign in to their account with your business when they click this button in emails relating to that type of service.

    [ButtonDeny]A button that staff members can click to deny an appointment.
    [ButtonEdit]A button that staff members can click to modify an appointment.
    [ButtonPay]Generates a button that clients can click to make a payment.
    [ButtonPrint]Generates a button that clients can click to print their receipt.
    [ButtonRespondCustomer]Generates a button that redirects the customer to respond to customer review.
    [ButtonReviewEdit]Generates a button that links to a write review page.
    [ButtonView]Generates a button that links to a review response page.
    [Cancel]The amount of time before the service the client can be canceled without incurring penalties.
    [CanceldateLong]The date a client can cancel by without incurring fees, in the following long format: May 15th, 2015.
    [CanceldateShort]The date a client can cancel by without incurring fees, in the following condensed format: 2015/05/15.
    [CancelMetric]The unit of time in which a service can be canceled.
    [CancelTime]The time before which the client can cancel the service without incurring penalties.

    NoteIf Allow clients to adjust time zone is enabled in your business policies, the time-based variables in your client notifications will include a time zone abbreviation. For example, CST – Central Standard Time.
    [CardImage]The image chosen for the gift card.
    [CardLastDigits]The last four digits of the client’s credit card on file. Used to identify the card when it is used to make a purchase or is expiring soon.
    [CardNo]The gift card’s redemption number.
    [Change]A list of the changes made to the service.
    [ClassPeriod]The details about the day’s class.
    [ClientAddress]The client’s home address.
    [ClientCity]The client’s city.
    [ClientCountry]The client’s country.
    [ClientMail]The client’s email address.
    [ClientName]The client’s name.
    [ClientPhone]The client’s phone number.
    [ClientPostal]The client’s postal code.
    [ClientRegion]The client’s region.
    [Contract]The name of the associated Purchase Option for which the contract is signed. For more information, see Contracts.
    [Coupon]The gift card code.
    [CouponName]The gift card name.
    [Current]The current level of the product.
    [Date]The date on which the payment was attempted.
    [DateAgree]The date the contract or online waiver was agreed upon and signed by the client.
    [DateDay]The date of the service in the following format: Thursday, May 15, 2015.
    [DateDaySms]The date of the service in the following format: Jan 14.
    [DateFrom]The start date for the invoice period related to a purchase made by the client.
    [DateInvoice]The date the invoice was sent to the client.
    [DateTime]The time of the service in the following format: 10:00 – 11:00 a.m.

    NoteIf Allow clients to adjust time zone is enabled in your business policies, the time-based variables in your client notifications will include a time zone abbreviation. For example, CST – Central Standard Time.
    [DateTimeSms]The time of the service in the following format: 11:00 a.m.

    NoteIf Allow clients to adjust time zone is enabled in your business policies, the time-based variables in your client notifications will include a time zone abbreviation. For example, CST – Central Standard Time.
    [Delay]The number of days, months, or years since the client last booked or checked in.
    [Description]The description of the service.
    [Due]The due date of an assigned task.
    [Duration]The duration of the service.
    [DurationDelay]The time units (days, months, or years) for the [Delay] variable.
    [End]The expiration date of the session pass or membership.
    [Enrollment]The event name for the specific event referred to in the email.
    [FutureAppointment]A list of the upcoming instances of the appointment that the client has booked.
    [Id]The ID of the individual the email is addressed to.
    [LastPaymentDate]The last date on which the client made a payment on the Purchase Option.
    [LeadInformation]The information submitted by a prospective client on the Lead Capture Widget.

    NoteIf you add a custom client field to your Lead Capture Widget, the field will appear on the widget. However, the information entered in the field by a prospective client won’t be included in the [LeadInformation] email variable when the New Lead notification is sent to a staff member.
    [Location]The name of the specific location referred to in the email.
    [LocationAddress]The street address of the specific location referred to in the email.
    [LocationCity]The city of the specific location referred to in the email.
    [LocationCountry]The country that the specific location referred to in the email is within.
    [LocationMail]The email of the specific location referred to in the email.
    [LocationPostalcode]The postal or ZIP code of the specific location referred to in the email.
    [LocationPhone]The phone number of the specific location referred to in the email.
    [LocationRegion]The state or province of the specific location referred to in the email.
    [LocationWebsite]The website URL of the specific location referred to in the email. To learn how to set up a location, see Setting a location’s business description.
    [Login]The WellnessLiving login for the individual to whom the email is addressed.
    [Mail]The email address of the receiver of the email.
    [MailNew]The client’s changed email.
    [Membership]The name of the membership.
    [Message]In the welcome email notification, use this variable to display a message that is populated based on the method the client used to sign up with WellnessLiving.

    In the automatic payment failed notification, use this variable to indicate an error message that was received when payment was attempted.

    [PasswordMessage]The client’s account password.
    [PayAccount]The list of payment accounts used to pay for a purchase.
    [PayMethod]The list of payment methods used to pay for a purchase.
    [Photo]The review’s image.
    [PrintButton]The button the customer can use to print the electronic gift card directly from the email.
    [ProfileTransaction]Generates a link that a staff member can click to access the Transactions page of the client. For more information, see Viewing a client’s Transactions page.
    [Promotion]The name for the specific membership referred to in the email.
    [Purchase]The name of the purchased service.
    [PurchaseAddress]The name of the specific location referred to in the email.
    [PurchaseItem]A table that displays the following information about the sale:

    • A list of all the items purchased, including costs, quantities, and any discounts that were applied.
    • A summary for all items purchased, including subtotal and purchase total.
      • If applicable, total discount, tax, tip, and surcharges are also displayed.
    [PurchaseItemTitle]The name of the item purchased.
    [Questions]The questions that are set up to be asked to clients when booking the service. For more information, see Appointment Type advanced settings
    [Rate]The rating received in the review.
    [ReceiptNotes]The custom note that appears in your email sales receipts where additional information about the transaction can be added. This variable is linked to the custom note you add to the sales receipt during checkout. For more information, see Adding custom text or notes to your sales receipt.
    [ReceiverMail]The email address of the individual the email is addressed to.
    [ReceiverName]The name of the individual the email is addressed to.
    [RecordedSessionButton]A button that clients can click to view a video of the recorded session.
    [RecordedSessionUrl]A link that clients can click to view a video of the recorded session.
    [Renewal]The date on which the item was renewed.
    [Reply]The text of the review response.
    [Reorder]The re-order amount.
    [RestAfter]The client’s total account balance as of the start date for the invoice period.
    [RestBefore]The client’s total account balance due as of the date the invoice was issued.
    [ReviewEdit]Generates a link to the write review page.
    [ReviewRate]The rating received in the review as asterisks.
    [Room]The room that the class will be in.
    [Schedule]The up-to-date schedule information.
    [ScheduleDetails]The changes made to the service with respect to the client’s updated schedule. This is used in the Class Schedule Details Have Changed and Class Schedule Staff Substitution staff notifications.
    [Sender]The name of the sender.
    [Service]The name of the service.
    [Session]A list of the booked services.
    [SessionPush]The information of the enrolled service(s), including the name of the service, the day, date, time, and duration of the enrolled service(s), and the name of the staff member with whom the service is scheduled. This is only available for push notifications.
    [SessionSms]The information of the enrolled service(s), including the name of the service, the day, date, time, and duration of the enrolled service(s), and the name of the staff member with whom the service is scheduled. This is only available for SMS messages.
    [SessionWait]The information of the waitlisted service(s), including the name of the service, the day, date, time, and duration of the waitlisted service(s), and the name of the staff member with whom the service is scheduled. This is only available for push notifications.
    [SessionWaitSms]The information of the waitlisted service(s), including the name of the service, the day, date, time, and duration of the waitlisted service(s), and the name of the staff member with whom the service is scheduled. This is only available for SMS messages.
    [ShopProduct]The product name.
    [Special]Special instructions for the service.
    [Staff]The name of the staff member with whom the service is booked.
    [StaffFullname]The first and last name of the staff the email is pertaining to.
    [StatementTable]A list of the client’s transactions over the past 30 days.
    [Subject]The subject line of the email.
    [Text]The review’s text.
    [Title]The title of the task that is assigned to a staff member via the task manager. For more information, see Task manager.
    [TransactionNumber]The identifying number of the transaction.
    [TransactionRefund]The total refunded amount.
    [TransactionTotal]The total amount of the original transaction.
    [UrlApprove]Generates a link that clients can click to approve a request.
    [UrlBook]A link that clients can click to access the booking page of the service. This is used in the Class Announcement and Event Announcement marketing campaigns.
    [UrlCancel]Generates a link that clients can click to cancel the service.
    [UrlConfirm]Generates a link that clients can click to confirm the service.
    [UrlDeny]Generates a link that clients can click to deny a request.
    [UrlEdit]Generates a link that clients can click to reschedule a request.
    [UrlProfile]Generates a link that clients can click to access the profile of the reviewer.
    [UrlRespondCustomer]Generates a link that clients can click to respond to a customer review.
    [UseCardButton]Generates a button that the recipient can click to redeem the gift card.
    [UserAddress]The customer’s address.
    [UserMail]The customer’s email address.
    [UserName]The customer’s name.
    [UserPhone]The customer’s phone number.
    [UserRealname]The real username of the individual the email is addressed to.
    [View]Generates a link to a review response page.
    [ViewProfile]A button that a potential client can click to view their profile.
    [VirtualServiceButton]Generates a button that clients can click to join the non-integrated virtual service. For more information, see Adding virtual service email variables to your automated notifications.
    [VirtualServiceUrl]Generates a link that clients can click to join the non-integrated virtual service. For more information, see Adding virtual service email variables to your automated notifications.
    [Visit]The previously attended service.
    [WidgetName]The name of the Lead Capture Widget.

     

    Was this article helpful?
    (244 out of 250 people found this article helpful )

    What can we do better?

    Thank you!
    Thank you for contacting us. We have received your request and will get in touch shortly.

    Contact Us

    We're ready to help you with everything to make your business great, but first check out our Support Center for all the information you need!
    Automated Marketing - Email variables