Email variables

Email variables can be used within automated notification and marketing email messages to add customized details to your message. All variables are enclosed within square brackets, e.g., [variable].

For example, when you send a customer a retention email message, the variables [fullname], [elapsedtime], and [businessname] can be used. The following template will complete each of these variables the moment the email message is generated, creating a customized email without any human interaction.

Email variables

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.

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]Generates a button that clients can click to access and manage their notification settings.
    [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]Generates a link that clients can click to access and manage their notification settings.

    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.
    [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.
    [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 identifying 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.
    [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 log 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 log 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 log 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 log in to their account with your business when they click this button in emails relating to that type of service.

    [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.
    [CanceldateLong]The date before which the client can cancel the service without incurring penalties in the following long format: May 15, 2015.
    [CanceldateShort]The date before which the client can cancel the service without incurring penalties in the following condensed format: 2015/05/15.
    [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.
    [ClientPostal]The client’s postal code.
    [ClientRegion]The client’s region.
    [ClientPhone]The client’s phone number.
    [ClientMail]The client’s email address.
    [ClientName]The client’s name.
    [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.
    [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.
    [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.
    [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.
    [LocationPostalcode]The postal or ZIP code of the specific location referred to in the email.
    [LocationRegion]The state or province of the specific location referred to in the email.
    [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.
    [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.
    [PurchaseItem]The item that was 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.
    [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.
    [Room]The room that the class will be in.
    [Schedule]The up-to-date schedule information.
    [Sender]The name of the sender.
    [Service]The name of the service.
    [Session]A list of the booked services.
    [ShopProduct]The product name.
    [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.
    [Special]Special instructions for the service.
    [Subject]The subject line of the email.
    [Text]The review’s text.
    [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.
    [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.
    [ReviewRate]The rating received in the review as asterisks.
    [View]Generates a link to a review response page.
    [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.

     

    Was this article helpful?
    (196 out of 202 people found this article helpful)
    Cancel