Field Types to Documint Variables
Last updated
Last updated
Field names in Airtable are converted to snake-case in Documint. This means your variables need to be the snake-case version of the field name. For example, if a field in Airtable is named Order Total
, its variable name in Documint needs to beorder_total
. Notice the space is replaced with an underscore and everything is converted to lowercase.
Airtable fields names must be converted to snake-case when being used in your template. The basic rules of snake-case are:
spaces are converted to underscores
double underscores are converted to single underscores
underscores at the beginning or end of the string are removed
some special characters are replaced with underscores
all upper-case characters are converted to lower-case
The easiest way to convert your field names to snake-case is by pasting the field name into the New Variable tool in the template designer.
Once you have setup the Airtable App and chosen the template you will be using, the table's fields will be available to copy and paste into your template.
Click on the field names to copy the field's token to your clipboard.
Paste it into your Documint template.
Generate a document (make sure the correct template is selected).