The Variables panel () lets you define named placeholders that can be used throughout your document. Instead of repeating the same value in multiple places, define it once as a variable and reference it withDocumentation Index
Fetch the complete documentation index at: https://docs.autype.com/llms.txt
Use this file to discover all available pages before exploring further.
{{variableName}} — when the value changes, every occurrence updates automatically.

Why use variables?
- Central updates — Change a company name, logo, or document number in one place and it updates everywhere in the document.
- Bulk generation — Variables serve as the template for bulk document creation. Define default values in the editor, then override them per document via CSV or API.
- API automation — When generating documents via the REST API, variables are passed as JSON. The values defined in the panel act as defaults that can be overridden at render time.
Variable types
Autype supports five variable types. Use the buttons at the top of the panel to add a new variable:| Type | Icon | Use case |
|---|---|---|
| Text | Short inline values — names, dates, labels | |
| Number | Numeric values — amounts, counts, IDs, chart data | |
| Image | Logos, signatures, photos — anything visual | |
| List | Ordered or unordered lists of items | |
| Table | Structured data with named columns and rows |
companyName, logo_image, featureList). The name cannot be changed after creation.
Text variables
A text variable holds a single string value (max 1,000 characters). Use it for anything that appears inline in your document — company names, author names, dates, etc.
Number variables
A number variable holds a single numeric value (integer or decimal). Use it for amounts, counts, IDs, or any dynamic numeric content. Insert into document:For chart variable substitution details, see the JSON Syntax — Charts reference.
Image variables
An image variable stores a reference to an image file along with optional width, height, and caption properties.
| Field | Required | Description |
|---|---|---|
| Source | Yes | Image path (e.g. /image/assetId) or external URL |
| Width | No | Width in pixels (10–2,000) |
| Height | No | Height in pixels (10–2,000) |
| Caption | No | Caption text displayed below the image (max 200 characters) |
List variables
A list variable holds an ordered or unordered list of text items (up to 100 items, each max 1,000 characters). Toggle between Unordered and Ordered using the switch at the top of the variable.
Table variables
A table variable stores structured data with named columns and rows (max 100 rows × 20 columns, cell content max 1,000 characters). Click Edit Table Data to open the table editor modal.
- Edit column headers — click directly on the header cells to rename them
- Edit cell values — click any cell to change its content
- Add / remove rows and columns — use the buttons below the table
- Delete individual rows — click the button on each row
{{TableName.columnName}}.
Insert into document:
| --- | separator row is required. At render time, the table is populated with the data from the variable.
Inserting variables
Every variable in the panel has a copy button that copies the correct insertion syntax to your clipboard:| Variable type | Copied syntax |
|---|---|
| Text | {{variableName}} |
| Number | {{variableName}} |
| Image | {{variableName}} |
| List | {{variableName}} |
| Table | :::table{dataSource="variableName"} + column headers |
Variables and bulk generation
The variables you define in the panel serve as the default template values. When you use bulk generation or the API, you can override any variable per document:- Define variables in the sidebar with sensible defaults
- Reference them throughout your document with
{{variableName}} - Override values per document via CSV upload (bulk) or JSON payload (API)
