ZenotiHelp

Use macros to customize campaigns

ZTZenoti Docs Team Updated September 5, 2026 4 min readGuide

Use macros to personalize your email and text campaigns with dynamic guest, center, and organization information. Macros automatically insert details such as guest names, center addresses, loyalty balances, and booking links into your campaign content.

Before you begin

Permission: Edit under Campaigns in the Marketing Manager section — Allows editing campaigns and using macros for personalization.

Note: Permissions for this feature are controlled by your organization's security settings. Contact your administrator if you cannot access this feature.

  • You must have access to Marketing > Campaigns.
  • To use custom macros, configure optional fields at the organization or center level. For details, refer to the configure optional fields section in the Configuration guide.
  • To use the [GuestCode] macro with auto-generated codes, enable Enable auto-generate guest code in center settings at the organization level (Configuration > Guests). If you do not enable this setting, you must manually enter a code when adding guest details in Zenoti.

Steps

  1. Navigate to Marketing > Campaigns > Email/text/whatsapp.
  2. Select Create a new campaign.
  3. At the Communication channel step, choose Text or Email.
  4. At the Create Content step, open the rich-text editor or the simplified editor.
  5. Place your cursor where you want to insert dynamic content.
  6. Insert any of the available macros from the table below by typing the macro name, including the square brackets.
  7. Preview your campaign to verify that macros display correctly before sending.

Available macros

Guest macros

Macro Description
[FirstName] First name of the guest
[LastName] Last name of the guest
[GuestCode] Unique identification code assigned to the guest
[GuestReferralCode] Referral code the guest can use to refer a new guest
[LoyaltyBalance] Loyalty point balance after the current accrual or redemption
[LoyaltyTier] Name of the tiered loyalty program to which the guest belongs
[WhatsAppConsent] Guest consent to communicate over WhatsApp

Center and organization macros

Macro Description
[CenterName] Name of the center from where the campaign is sent
[OrgName] Name of the organization from where the campaign is sent
[CenterPhone] Center phone number (corresponds to the Phone field in center settings)
[CenterAddress] Complete address of the center (corresponds to the Address 1 and Address 2 fields in center settings)
[CenterCity] City where the center is located
[CenterState] State where the center is located
[CenterZip] Zip code or postal code of the center
[CenterE-mail] Email address of the center
[LogoURL] Business logo embedded with a URL that directs guests to your website

Last visit macros

Macro Description
[LastVisitCenterName] Name of the center the guest last visited
[LastVisitServiceReceived] Name of the service the guest received during the last visit
[LastVisitServiceProviderName] Name of the provider who performed the service during the last visit
[LastVisitServiceProviderNickname] Nickname of the provider who performed the service during the last visit
Macro Description
[BookingURL] Link that directs the guest to the booking page (your website or Zenoti Webstore services listing page)
[ClaimAccountLink] Link that directs the guest to the Webstore where, as a first-time user, they can set up a login password
[DownloadLink] Link to download the guest mobile application (if enabled by the organization) via Play Store or App Store
[MailUnsubscribeLink] Link for the guest to unsubscribe from marketing emails
[SMSMarketingOptOutKeyword] Keyword the guest sends to opt out of marketing text messages
[AutoApplyDiscountWebstoreURL] Webstore link for a discount that is automatically applied

Campaign content macros

Macro Description
[OpenSlots] Inserts open slot availability into the campaign. To configure open slots, read Send open slots availability through email campaigns.
[OfferValidityDate] Expiry date of the campaign
[UpsellAddOnWithLink] Webstore links for add-on services the guest did not include when booking services that had add-ons
[CustomMacro1] to [CustomMacro10] Insert any optional fields (Optional Field 1 to Optional Field 10) defined at the organization level

Macro scope hierarchy

Custom macros follow a scope hierarchy:

  • Organization-level macros: Defined at the organization level and available to all centers. These serve as defaults when center-level macros are not configured.
  • Center-level macros: Defined at individual center level and override the organization-level values for that center.

When a campaign is sent, the system resolves macro values in the following order:

  1. If the center has a center-level value for the macro, that value is used.
  2. If no center-level value exists, the organization-level value is used.
  3. If no value exists at either level, the macro placeholder remains empty.

This hierarchy lets you set organization-wide defaults (such as a company website URL) while allowing individual centers to customize values (such as center-specific contact information).

Tips

  • You can use macros in both the rich-text editor and the simplified editor when creating email and text campaigns.
  • Avoid using special characters, other email addresses, or links directly in the body text of your campaigns. Use custom macros to insert links to your center, website, or any other information.
  • You can create up to 10 custom macros for your enterprise by configuring optional fields at the organization or center level.
Was this article helpful?
Your feedback helps us improve our documentation.