Tokens in Modern engine
Tokens in Modern template engine are placeholders for dynamic data in documents. They work like variables that get replaced with values during document generation.
Each token, typically enclosed in curly braces {{token}}, is linked to a specific piece of data from a source, such as a JSON file.
For example, to insert a client’s name into a template, use the token {{Name}}. When the document is generated, this token will be replaced with the actual name, such as “Alex Johnson”.
Template:
JSON:
{
"Name": "Alex Johnson",
"Period": "March 2026",
"Total": "$1,245.80"
}
Result:
See more examples:
Advanced cases
Tokens can also be used in more advanced scenarios. For example, you can:
format values, for example
{{date|format(dd.MM.yyyy)}}.perform object operations, as well as logical operations.
automatically display properties from an object, for example
{{companies.name}},{{companies.projects.name}}.
You can use special characters and spaces within your token names, but you’ll need to enclose the tag in square brackets inside the curly braces: {{[Full Name]}}.
Template:
JSON:
{
"num-1": 1,
"num*2": 2,
"Full Name": "John Doe"
}
Result:
System tokens
There are two predefined system tokens: {{@date}} and {{@number}}.
System tokens use the @ prefix.
{{@date|format(dd.MM.yyyy HH:mm)}}provides the current date and time in the required format.{{@number}}inserts a unique number into your document or Process parameters.
Note
Check out this article for more information about automatic numbering.
Let’s add these system tokens to our template:
And use the same JSON data we used earlier:
{
"Name": "Alex Johnson",
"Period": "March 2026",
"Total": "$1,245.80"
}
When the document is generated, the result looks like this:
Tokens in Processes
You can see the tokens used in your template by opening the token panel on the right side of the editor in Processes.
To open the panel, click the Tokens button above the template editor:
You can also change the types of tokens used in your template. See how it works in this article.