Documate is now Gavel! Read more about why we’re excited about this rebrand.

File Uploads

Incorporate small file uploads into your Word documents by adding their variable names like any other variable: {{ FileUploadVariable }}. That way, any file that is uploaded in response to your file upload variable will be copied directly into your document when the document is generated. We recommend only using this if you expect the uploaded files to be small.

Limit the size in which the file upload appears in your document by setting a size, like this.  The following is 1 inch:

{{ FileUploadVariable.show(width="1in") }}

If you anticipate your clients will upload large files, then do not include the variable in the output document. Instead have the document emailed to you like this:

To display only the name of the file in a document, you can use the following:

{{ my_file[0].filename }}

File Uploads allow clients to upload 1 document at a time and allow the following file types:
.pdf
.docx
.doc
.txt
.rtf
.png
.jpg/.jpeg
.tiff
.gif