Number DOCX documents automatically

Note

This article outlines how to use automatic numbering in the Classic templating engine, which is now obsolete and lacks modern features. We suggest using the Modern templating engine instead. Click here for updated instructions.

When generating documents through Plumsail processes, you can use a predefined token for inserting unique numbers. To do that, add a token {{@number}} to the template:

The token in a template

By default, it starts from 1 and then is incremented with each run.

The result document

Besides, you can use the token in other fields of the process configuration, i.e. in the output file name or in deliveries. If required, it is possible to set a custom value to start numbering with. In the output settings, unfold the Advanced section and set the Document number index field. The next process run will use an incremented value.

Advanced output settings