A macro is a placeholder text that gets replaced with specific data when inserted into an automated email/text message. For example, the [OrgName] macro gets replaced with the organization name.

You can use macros to customize emails/text messages to include information such as organization name, guest name, center details etc.

For loyalty points, Zenoti provides a number of macros that you can use and customize your notification templates.
Note: The macros available for each notification template may vary. It is not required for all the notifications to have the same set of macros.
 
The following is the list of macros available across all loyalty points notification templates:

  • [OrgName]: Name of the organization.
  • [CenterName]: Name of the guest's base center.
  • [FirstName]: First name of the guest.
  • [LastName]: Last name of guest.
  • [Name]: First name followed by the last name of the guest. 
  • [DownloadLink]: Link to download the Customer Mobile Application (if the Organization has it enabled).
  • [CenterE-mail]: Email address of the guest's base center. 
  • [MailUnsubscribeLink]: Link to unsubscribe from transaction emails. Once unsubscribed, no transaction related email will be sent (including appointment related emails). 
  • [CenterPhone]: Primary phone number of the guest's base center (corresponds to the Phone 1 field in the center settings). 
  • [CenterCountry]: Country where the guest's base center is located. 
  • [CenterZip]: Zip code/postal code of the guest's base center location.
  • [CenterAddlData1]: Additional center information provided in the Additional Text field in the guest's base center Settings->Invoice&Receipts
  • [CenterPhone2]: Secondary phone number provided for the guest's base center (corresponds to the Phone 2 field in the center settings). 
  • [CenterAddress]: Complete address of the guest's base center (corresponds to the Address 1 and Address 2 field in the center settings).
  • [CenterState]: State where the center is located. 
  • [LoyaltyProgramName]: Name of the loyalty points promotion applied.
  • [ReceiptNo]: Receipt number for the purchase. 
  • [InvoiceNo]: Invoice number for the current purchase. 
  • [LoyaltyAccrued]: Number of loyalty points accrued. 
  • [LoyaltyBalance]: The loyalty point balance after the current accrual or redemption. 
  • [LoyaltyAccrualDetails]: Details of the guest action and points accrued as a result of the action.
    Example:
    Details of Loyalty Points Accrual: Purchase a service: 50 
  • [CurrentLPTier]: Current tier of the guest.
  • [LPExpiring]: The number of loyalty points that are about to expire.
    [LPExpiryDate]: The date on which the points will expire.
    Note:  This macro is applicable for the tiered loyalty program. The date is calculated from the days provided in the Send loyalty points expiry reminder field (organization level -> Points tab).
    The expiry date will be in the date format set at the organization level.
    Example:

    [LPExpiryDate] = 10.01.2016; [LPExpiring] = 300
  • [StatementFrequency]: Number of months configured as the statement frequency (Organization level -> Points tab, Statement frequency field). 
  • [LPOpeningBalance]: Loyalty points balance as on the statement start date.
    The start date is calculated according to the Send statement starting from date and Statement frequency in the organization settings, Points tab.
    Example:
    For a statement sent for the month of August and with statement frequency as 1 month, the points opening balance displays as on the start date i.e, August 1, 2016. 
  • [LPEarned]: Loyalty points earned in the period between the statement start date and statement end date.
    Example
    :
    For a statement sent for the month of August and with statement frequency as 1 month, the points earned between start date August 1, 2016 and end date August 31, 2016 is displayed in the statement.   
  • [LPExpired]:Number of points that expired in the period between the statement start date and statement end date.
  • [LPRedeemed]: Loyalty points redeemed in the period between the statement start date and statement end date.
    Example
    :
    For a statement sent for the month of August and with statement frequency as 1 month, the points redeemed between start date August 1, 2016 and end date August 31, 2016 is displayed in the statement.
  • [LPClosingBalance]: Loyalty points balance at the end date of the statement period. The closing balance is calculated as below:
    Closing balance = Opening balance + loyalty points earned – loyalty points expired - Loyalty points redeemed
    Example
    :
    For a statement sent for the month of August and with statement frequency as 1 month, the guest’s closing balance is calculated as below:

    - Opening balance as on August 1, 2016: 1000 points
    - Earned points in the statement period: 200
    - Points expired in the statement period: 30
    - Points redeemed in the statement period: 80

    The closing balance as on end date August 31, 2016 is 1090.
Did this answer your question?