Template Variables
Document templates use double-brace syntax for variable interpolation: {{variable_name}}. When a document is rendered during check-in, these placeholders are replaced with actual data from the visit, visitor, host, and site.
Available variables
| Variable | Source | Description | Example value |
|---|---|---|---|
{{visitor_name}} | Visitor record | Full name (first + last) | Jane Smith |
{{visitor_email}} | Visitor record | Email address | jane.smith@example.com |
{{visitor_company}} | Visitor record | Company/organization | Acme Corp |
{{host_name}} | Host user record | Name of the person who invited the visitor | John Doe |
{{host_email}} | Host user record | Host's email address | john.doe@yourcompany.com |
{{site_name}} | Site configuration | Name of the site | Munich HQ |
{{site_address}} | Site configuration | Physical address | Leopoldstraße 1, 80802 München |
{{tenant_name}} | Tenant configuration | Organization name | Acme Industries GmbH |
{{visit_date}} | Check-in timestamp | Date of the visit, formatted per tenant locale | 15 April 2026 |
{{visit_purpose}} | Pre-registration data | Purpose of the visit (if provided) | Project kickoff meeting |
{{document_version}} | Template metadata | Version number of this template | 3 |
Usage in HTML
Variables can be placed anywhere in the template HTML — in headings, paragraphs, table cells, or even in attribute values:
<h1>Non-Disclosure Agreement</h1>
<p>
This agreement is entered into between <strong>{{visitor_name}}</strong>
(representing {{visitor_company}}) and <strong>{{tenant_name}}</strong>
on {{visit_date}}.
</p>
<table>
<tr><td>Visitor</td><td>{{visitor_name}}</td></tr>
<tr><td>Host</td><td>{{host_name}}</td></tr>
<tr><td>Location</td><td>{{site_name}}, {{site_address}}</td></tr>
</table>
Missing values
If a variable has no value (e.g., the visitor didn't provide a company name, or the visit has no purpose), the placeholder is replaced with an empty string. The template renders without the value — no {{variable}} placeholder is visible to the visitor.
During offline check-in, if the visitor's pre-registration data wasn't cached before the kiosk went offline, unfilled variables show "N/A" instead. The server fills in the correct values when processing the queued submission.
Variable set is fixed
Templates cannot execute arbitrary code or access arbitrary data. The variable set listed above is the complete set available for interpolation. If you need a value that's not in this list (e.g., a custom legal entity name or jurisdiction-specific text), use the template's HTML content to hard-code it directly.
Previewing with sample data
When editing a template, you can preview it with sample data to verify that variables render correctly and the layout looks right. The preview fills all variables with realistic placeholder values.