Variables and Components
These are the variables and components you can use in your Email Templates and Scheduled Emails to personalise content and add dynamic elements.
Variables​
- Global
- Transaction Confirmed
- Booking Moved
- Transaction Expired
- Booking Cancelled
These variables are available in all email templates and scheduled emails.
The variables listed here are globally available for bookings only. Gift Voucher emails have their own variables where these are not available. Instead, their equivalents are set. You can find these in the Gift Voucher Emails guide.
Variable | Type | Description |
---|---|---|
[[site_name]] | string | The name of the site. |
[[first_name]] | string | The first name of the person making the booking. |
[[last_name]] | string | The last name of the person making the booking. |
[[email]] | string | The email address of the person making the booking. |
[[phone]] | string | The phone number of the person making the booking. |
[[price_total]] | string | The total price of the booking - formatted in the currency of the site. (e.g. £100.00) |
[[amount_paid]] | string | The amount paid for the booking - formatted in the currency of the site. (e.g. £100.00) |
[[discount_code]] | string | The discount code applied to the booking, if any. If no discount code was applied, this will be empty. |
[[balance_is_due]] | boolean | A true/false value indicating if the balance is due. |
[[balance_due]] | string | The balance due for the booking - formatted in the currency of the site. (e.g. £100.00) |
[[payment_link_is_available]] | boolean | A true/false value indicating if a payment link is available for the booking. |
[[payment_link]] | string | The payment link for the booking. |
There are no extra variables available for this template.
Variable | Type | Description |
---|---|---|
[[old_resource_name]] | string | The name of the resource that the booking was moved from. |
[[new_resource_name]] | string | The name of the resource that the booking was moved to. |
[[old_start_time]] | string | The old start time of the booking - formatted in the site timezone and in readable format. (e.g. 31/12/2025 07:00 pm) |
[[new_start_time]] | string | The new start time of the booking - formatted in the site timezone and in readable format. (e.g. 31/12/2025 07:00 pm) |
There are no extra variables available for this template.
Variable | Type | Description |
---|---|---|
[[resource_name]] | string | The name of the resource that the booking was cancelled for. |
[[start_date]] | string | The start date of the booking - formatted in the site timezone and in readable format. (e.g. Monday 31st December 2025) |
[[start_time]] | string | The start time of the booking - formatted in the site timezone and in readable format. (e.g. 07:00 pm) |
[[end_time]] | string | The end time of the booking - formatted in the site timezone and in readable format. (e.g. 08:00 pm) |
Components​
The following components are available for use in your email templates.
bookings
[[component bookings]]
Displays a summary of bookings for the transaction.
This component is rendered differently depending on whether you are using MJML or HTML. For MJML, it will render directly inside your MJML template as an <mj-section>. For HTML, it will use a pre-rendered template.
Looking for a particular variable or component that isn't listed here? We'd love to hear from you! Just submit your idea on our feature request board and we’ll consider it for future updates.