ResytechResytech Docs
Marketing & Automation

Use Template Variables

Complete reference for every variable available in Resytech email and SMS templates, including customer, booking, activity, location, payment, refund, waiver, and system variables.

Template variables are placeholders written as {{variable.name}} that Resytech replaces with real data when a message is sent. They work in both the subject line and body of email templates, and in the body of SMS templates.

How Variables Work

  • Variables use double curly braces: {{customer.name}}.
  • Variables support dot notation for nested data: {{booking.confirmationCode}}.
  • If a variable cannot be resolved (the data is missing), the raw placeholder text is left in place, e.g. the recipient sees the literal string {{customer.name}}.
  • Variable names are case-insensitive for the first path segment.
  • You can use variables in the subject line, email body, SMS body, and even in the custom recipient field of workflow actions.
  • Money variables are in your company's currency and number style. The examples below are for a US company; a company in Denmark sees 150,00 kr. instead of $150.00. See Money Variables.
  • Date and time variables follow your company's number style too: a company in Denmark sees 15. jan. 2026 and 10.00 instead of Jan 15, 2026 and 10:00 AM. See Date and Time Variables.

Variable Reference

Customer Variables

Data from the customer's profile in the CRM.

VariableDescriptionExample Output
{{customer.name}}Customer's full nameJane Smith
{{customer.email}}Primary email addressjane@example.com
{{customer.phone}}Phone number555-123-4567
{{customer.phoneCountryCode}}Phone country code1
{{customer.uuid}}Unique customer identifiera1b2c3d4-...

Booking Variables

Data from the booking that triggered the message. Dates and times are converted to the location's timezone.

VariableDescriptionExample Output
{{booking.confirmationCode}}Booking confirmation codeBK-7X9M
{{booking.date}}Booking date (formatted)Jan 15, 2026
{{booking.startTime}}Start time (formatted)10:00 AM
{{booking.endTime}}End time (formatted)12:00 PM
{{booking.totalAmount}}Grand total with currency symbol. Does not include a tip$150.00
{{booking.grandTotal}}Grand total (numeric). Does not include a tip150.00
{{booking.tipAmount}}Tip on the booking with currency symbol: collected, less any refunded$20.00
{{booking.subtotal}}Subtotal with currency symbol$130.00
{{booking.taxesPrice}}Tax amount with currency symbol$13.00
{{booking.feesPrice}}Fees with currency symbol$7.00
{{booking.status}}Current booking statusConfirmed
{{booking.durationMinutes}}Duration in minutes120
{{booking.durationLabel}}The label of the booked duration. Empty when it has noneOne Day Rental
{{booking.customerId}}Customer ID referencecust_abc123
{{booking.activityName}}Name of the booked activityJet Ski Rental
{{booking.uuid}}Booking unique identifiere5f6g7h8-...
{{booking.manageUrl}}Self-service booking management linkhttps://your-domain.com/manage/token

The booking.manageUrl variable generates a unique link that lets the customer view and manage their booking without logging in. It requires the booking to have an access token.

Activity Variables

Data from the activity associated with the booking.

VariableDescriptionExample Output
{{activity.name}}Activity nameSunset Kayak Tour
{{activity.description}}Activity descriptionA guided tour...
{{activity.price}}Base price with currency symbol$75.00
{{activity.basePrice}}Base price (numeric)75.00
{{activity.details}}Activity detail textBring sunscreen...
{{activity.tagline}}Short activity taglineAdventure awaits
{{activity.cancellationPolicy}}Cancellation policy textCancel 24h before...
{{activity.uuid}}Activity unique identifieri9j0k1l2-...

Location Variables

Data from the location (venue) where the booking takes place.

VariableDescriptionExample Output
{{location.name}}Location/venue nameLakeside Adventures
{{location.fullAddress}}Complete formatted address123 Lake Dr, Miami, FL 33101
{{location.addressLine1}}Street address line 1123 Lake Dr
{{location.addressLine2}}Street address line 2Suite 4
{{location.city}}CityMiami
{{location.state}}State or provinceFL
{{location.postalCode}}Postal/ZIP code33101
{{location.phone}}Location phone number(305) 555-0100
{{location.email}}Location email addressinfo@lakeside.com

Company Variables

Data from the company that owns the location.

VariableDescriptionExample Output
{{company.name}}Company nameLakeside Adventures LLC
{{company.email}}Company email addressadmin@lakeside.com
{{company.logoUri}}URL to the company logohttps://...
{{company.uuid}}Company unique identifierm3n4o5p6-...

Payment Variables

Available when the message is triggered by a payment event.

VariableDescriptionExample Output
{{payment.formattedAmount}}Payment amount with currency symbol$150.00
{{payment.amount}}Payment amount (numeric)150.00
{{payment.type}}Payment method typecredit_card
{{payment.typeOther}}Additional payment type detailsVisa ending 4242
{{payment.referenceId}}Payment reference / transaction IDpi_abc123
{{payment.date}}Payment date (formatted)Jan 15, 2026

Refund Variables

Available when the message is triggered by a refund event.

VariableDescriptionExample Output
{{refund.formattedAmount}}Refund amount with currency symbol$75.00
{{refund.amount}}Refund amount (numeric)75.00
{{refund.referenceId}}Refund reference IDre_xyz789
{{refund.date}}Refund date (formatted)Jan 16, 2026

System Variables

General-purpose variables available in every template. Values are computed in the location's timezone.

VariableDescriptionExample Output
{{system.currentDate}}Current dateJan 15, 2026
{{system.currentTime}}Current time3:45 PM
{{system.currentDateTime}}Current date and timeJan 15, 2026 3:45 PM
{{system.year}}Current year2026

Special variables that generate a URL to your waiver signing page. Replace <waiver-uuid> with the actual UUID of the waiver.

VariableDescription
{{waiver_link:<waiver-uuid>}}Standalone waiver signing link. The customer signs the waiver independently.
{{waiver_link_booking:<waiver-uuid>}}Waiver signing link with the booking auto-linked. The signed waiver is associated with the booking that triggered the email.

In the template editor, if your location has waivers configured, a Waiver Links section appears in the variables panel. You can click to insert these links with the correct UUID pre-filled.

The generated URL follows the pattern:

https://sign.resytech.com?locationId=<location-uuid>&waiverId=<waiver-uuid>&reservationKey=<booking-uuid>

Money Variables

The formatted money variables ({{booking.totalAmount}}, {{booking.tipAmount}}, {{booking.subtotal}}, {{booking.taxesPrice}}, {{booking.feesPrice}}, {{activity.price}}, {{payment.formattedAmount}} and {{refund.formattedAmount}}) are written in your company's currency and number style:

Company{{booking.totalAmount}}
United States (USD)$150.00
Denmark (DKK)150,00 kr.
Germany (EUR)150,00 €

The same variables also fill text messages, so they use ordinary spaces, and a currency symbol that text messages can't carry, such as zł or Kč, is written as the three-letter currency code instead, in emails too: 150,00 PLN.

The numeric variables ({{booking.grandTotal}}, {{activity.basePrice}}, {{payment.amount}} and {{refund.amount}}) are plain numbers with no currency, such as 150.00.

For a booking whose prices include tax, {{booking.taxesPrice}} is the VAT inside the total, not an amount added to it. {{booking.totalAmount}} and {{booking.subtotal}} include the VAT, so for a 1.000,00 kr. booking at 25% VAT, {{booking.totalAmount}} is 1.000,00 kr. and {{booking.taxesPrice}} is 200,00 kr..

See Supported Countries & Currencies for how your company's currency and number style are set.

Date and Time Variables

The date and time variables ({{booking.date}}, {{booking.startTime}}, {{booking.endTime}}, {{payment.date}}, {{refund.date}}, {{system.currentDate}}, {{system.currentTime}} and {{system.currentDateTime}}) are written in your company's number style, in the location's time zone. A US English (en-US) company keeps the formats shown above; every other company gets its own style's format and month names:

VariableUnited States (en-US)Denmark (da-DK)
{{booking.date}}Jan 15, 202615. jan. 2026
{{booking.startTime}}10:00 AM10.00
{{system.currentDateTime}}Jan 15, 2026 3:45 PM15. jan. 2026 15.45

These variables also fill text messages, so they use ordinary spaces, and a date whose month name has letters text messages can't carry is written as the numeric date instead, in emails too. That can happen in some styles, such as Polish, Czech, Hungarian, Greek, Bulgarian and Thai. In Polish, for example, 30 October 2026 reads 30.10.2026, because the month's short name "paź" can't be sent by text.

Previewing Variables

Before sending, you can preview how your template looks with sample data:

  1. From the templates list, click the eye icon on any template.
  2. The preview page renders the template with example values so you can verify formatting and variable placement.
  3. You can also use the Preview endpoint from the API, which accepts custom sample data for testing.

Tips

  • Always test templates with a preview before activating them, especially if they contain many variables.
  • If a variable shows up as raw text in a sent message (e.g., the customer literally sees {{booking.date}}), it means the data was not available at send time. Check that the workflow trigger provides the necessary booking, customer, or activity data.
  • {{booking.totalAmount}} and {{booking.grandTotal}} contain the same underlying value, but totalAmount is pre-formatted with a currency symbol ($150.00) while grandTotal is the raw number (150.00).
  • A tip is not part of {{booking.totalAmount}}. To state what a customer who tipped was charged, write both: {{booking.totalAmount}} plus a {{booking.tipAmount}} tip. {{booking.tipAmount}} reads $0.00 when the booking has no tip.
  • Dates and times are automatically converted to the location's configured timezone. If times appear wrong, verify the location's timezone setting.

On this page