Variable Reference

This page lists all available merge tag variables for use in email and SMS templates. Variables use double-curly-brace syntax: {{variable_name}}.

Variable Categories

Customer Variables

VariableDescriptionExample Output
customerfirstnameCustomer's first nameJohn
customerlastnameCustomer's last nameSmith
customerfullnameFull nameJohn Smith
customer_emailEmail addressjohn@example.com
customer_phonePhone number(555) 123-4567
customer_sinceAccount creation dateJanuary 15, 2025

Booking Variables

VariableDescriptionExample Output
booking_idBooking reference numberBK-2026-00847
booking_dateService dateFebruary 26, 2026
booking_timeService time10:00 AM
booking_durationEstimated duration2 hours
booking_statusCurrent statusConfirmed
booking_addressService address123 Main St, Eugene, OR 97401
service_typeIndustry nameResidential Cleaning

Invoice Variables

VariableDescriptionExample Output
invoice_numberInvoice referenceINV-2026-00142
invoice_dateIssue dateFebruary 26, 2026
invoiceduedatePayment due dateFebruary 26, 2026
invoice_subtotalPre-tax total$150.00
invoice_taxTax amount$12.75
invoice_totalFinal total$162.75
invoice_balanceRemaining balance$0.00

Payment Variables

VariableDescriptionExample Output
payment_amountAmount charged$162.75
payment_methodCard descriptionVisa ending in 4242
payment_dateTransaction dateFebruary 26, 2026
payment_statusTransaction statusSucceeded

Company Variables

VariableDescriptionExample Output
company_nameYour company nameOtesse
company_phoneBusiness phone(555) 987-6543
company_emailBusiness emailhello@otesse.com
company_addressBusiness address100 Business Blvd, Portland, OR
companylogourlLogo image URLhttps://...
company_websiteWebsite URLhttps://otesse.com

Staff Variables

VariableDescriptionExample Output
stafffirstnameAssigned staff nameMaria
stafffullnameFull nameMaria Garcia
staff_phoneStaff phone(555) 456-7890

Subscription Variables

VariableDescriptionExample Output
subscription_frequencyBilling frequencyBi-Weekly
subscriptionnextdateNext service dateMarch 12, 2026
subscription_pricePer-visit price$127.50
VariableDescription
portalloginurlLink to customer portal login
bookingdetailurlLink to specific booking
invoicedetailurlLink to specific invoice
paymentupdateurlLink to update payment method
unsubscribe_urlEmail unsubscribe link

Modifiers

Apply modifiers using pipe syntax: {{variable|modifier}}

ModifierShortcodeEffectExample
uppercaseuALL CAPSJOHN
lowercaselall lowerjohn
capitalizecFirst Letter Each WordJohn Smith
sentencesFirst letter onlyJohn smith

Modifiers work in both email and SMS templates.