Skip to main content

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

VariableSourceDescriptionExample value
{{visitor_name}}Visitor recordFull name (first + last)Jane Smith
{{visitor_email}}Visitor recordEmail addressjane.smith@example.com
{{visitor_company}}Visitor recordCompany/organizationAcme Corp
{{host_name}}Host user recordName of the person who invited the visitorJohn Doe
{{host_email}}Host user recordHost's email addressjohn.doe@yourcompany.com
{{site_name}}Site configurationName of the siteMunich HQ
{{site_address}}Site configurationPhysical addressLeopoldstraße 1, 80802 München
{{tenant_name}}Tenant configurationOrganization nameAcme Industries GmbH
{{visit_date}}Check-in timestampDate of the visit, formatted per tenant locale15 April 2026
{{visit_purpose}}Pre-registration dataPurpose of the visit (if provided)Project kickoff meeting
{{document_version}}Template metadataVersion number of this template3

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.