Skip to content

Template variables

Variables are placeholders you insert into a message template written as {{like_this}}. JustBook swaps each one for a real value when it sends. When you edit a template, the Available Variables list offers exactly the variables that message supports — click one to insert it.

VariableFills in
{{customer_name}}The customer’s full name.
{{service_name}}The booked service.
{{stylist_name}}The stylist for the appointment.
{{branch_name}}The branch the appointment is at.
{{start_time}}The appointment start time.
{{end_time}}The appointment end time.
{{date}}The appointment date.
{{business_name}}Your business name.
{{booking_reference}}The appointment’s reference code.
{{booking_page_url}}A link to your booking page.
{{add_to_calendar_url}}A link the customer taps to add the appointment to their calendar.
{{deposit_kept}}The part of the deposit kept when a booking is cancelled.
{{deposit_refund}}The part of the deposit refunded when a booking is cancelled.
{{time_until_appointment}}How far before the appointment the reminder is sent (for example, “24 hours”) — always matches the reminder’s configured timing.
{{review_url}}A link for the customer to leave a review.
{{payment_url}}A secure link to pay (a deposit or a balance).
{{deposit_amount}}The deposit amount.
{{remaining_balance}}The amount still owed after the deposit.
{{expires_at}}When the payment link or offer expires.
{{price}}The total price.
{{package_name}}The package name.

The exact set depends on the message — a reminder has appointment details a package receipt doesn’t. Inserting a variable a message doesn’t support leaves it blank.

MessageAvailable variables
Booking confirmation{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{add_to_calendar_url}}
Booking updated{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{add_to_calendar_url}}
Booking cancelled{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{deposit_kept}}, {{deposit_refund}}
Appointment reminders{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{add_to_calendar_url}}, {{time_until_appointment}}
Review request{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{review_url}}
Deposit payment link{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{payment_url}}, {{deposit_amount}}, {{remaining_balance}}, {{expires_at}}
Final payment link{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{payment_url}}, {{remaining_balance}}, {{price}}, {{expires_at}}
Pending deposit reminder{{customer_name}}, {{service_name}}, {{stylist_name}}, {{branch_name}}, {{start_time}}, {{end_time}}, {{date}}, {{business_name}}, {{booking_reference}}, {{booking_page_url}}, {{payment_url}}, {{deposit_amount}}, {{remaining_balance}}, {{expires_at}}
Package purchased{{customer_name}}, {{business_name}}, {{package_name}}, {{price}}, {{booking_page_url}}
Package payment link{{customer_name}}, {{business_name}}, {{package_name}}, {{price}}, {{payment_url}}, {{expires_at}}