{{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:
When creating a variable, you choose a name that must start with a letter or underscore and can only contain letters, numbers, and underscores (e.g.
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.
Insert into document:
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:
Paste the copied syntax directly into your document at the desired position.
In Markdown mode the syntax remains visible. In Write mode Autype recognizes a
known variable and displays it as a visual variable token instead of raw
Markdown.
You can also drag a variable from the sidebar into either editor. Autype inserts
it at the drop position and preserves the required inline or block-level form
for that variable type.
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)
