> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.aura.konceptservices.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.aura.konceptservices.com/_mcp/server.

# Template variables

> Learn how to use variables in your templates to personalize messages with real data from each customer and booking.

## What are variables

Variables are placeholders within your template text that are automatically replaced with real data when the message is sent. Thanks to variables, you can send the same message to many customers and each one will receive personalized information.

For example, instead of writing:

> Hi John, your appointment is on March 15th.

You write the template like this:

> Hi \{\{name}}, your appointment is on \{\{date}}.

When the message is sent, Aura will replace `{{name}}` with the customer's actual name and `{{date}}` with their booking date.

## How to insert a variable

There are two ways to add variables to your template body:

1. **Type manually**: Write the variable name between double curly braces directly in the text. For example: `{{name}}`.

2. **Use the "Insert variable" button**: Above the message body text field, you'll find the **Insert variable** button. Click it to see the available variables and select the one you need. The variable will be automatically inserted at the cursor position.

> **Tip**
>
> Using the "Insert variable" button is the safest way to add variables, since it ensures the variable name is correct and available as a data source.

## Available data for variables

Variables pull from the data Aura has about each customer and booking. Here are some examples of information you can use:

#### Customer data

* Customer name
* Phone number
* Email address

#### Booking data

* Booking date
* Booking time
* Service name
* Service duration
* Assigned resource name (professional, room, etc.)

#### Business data

* Business name
* Address
* Contact phone number

## Variable types

Variables can have different formats depending on the type of data they represent:

* **Text**: Simple data like names, descriptions, or addresses. Displayed as-is.
* **Currency**: Monetary values that are automatically formatted with the appropriate currency symbol (for example, 25.00 EUR).
* **Date and time**: Dates and times displayed in the proper format based on the template's language.

## Practical example

Imagine you run a dental clinic and want to send an appointment reminder. Your template could be:

```
Hi {{customer_name}},

This is a reminder that you have a {{service}} appointment scheduled for {{booking_date}} at {{booking_time}}.

If you need to reschedule or cancel your appointment, contact us at {{business_phone}}.

Best regards,
{{business_name}}
```

When sent to a customer, the message would look like this:

> Hi Maria Lopez,
>
> This is a reminder that you have a Dental cleaning appointment scheduled for March 20, 2026 at 10:30 AM.
>
> If you need to reschedule or cancel your appointment, contact us at +34 612 345 678.
>
> Best regards,
> Smile Dental Clinic

> **Info**
>
> The available variables depend on the information configured in your agent and the data collected from each customer. If a variable has no value for a particular customer, it will be left blank.