When your document must look exactly like your own design (your letterhead, fonts, numbered clauses, a running header), use a Word template (your own .docx) or an HTML template (HTML and CSS). Both fill in each record's values where you put placeholders.
Where to find it
Sidebar → Admin → Templates → New Template, then Upload my Word file or Or write HTML and CSS yourself. Existing ones carry a Word or HTML badge.
Before you start
You need permission to change templates.
Every document generated from a Word or HTML template counts toward your plan's monthly allowance of such documents; previews in the editor don't. Block templates never count. See Admin → Subscription.
Create a Word template
In Word, type placeholders where the values go
For example {{record.invoiceNumber}}, {{relation.customer.name}} or {{settings.companyName}}. See Placeholders in Word and HTML below.
Choose Upload my Word file, enter a Name, the Entity and an optional Description
Turn on Default to make it the module's default template; Enabled is on unless you turn it off.
Under Choose a Word file (.docx), pick the file (up to 15 MB) and click Upload and create
Without a name, the template takes the file's name.
"Word template created — n placeholders found. Review them below."
Review the placeholders
Each row has a Label, the Placeholder and a Status (Mapped, Needs review or New field). Use Map to field… to fix one the app did not recognise, and Filter… to find one. If anything was removed from the file for safety, it is listed above the table.
Click Save placeholder changes, then Show PDF preview
A changed placeholder is rewritten in the Word file when you save; Discard undoes your edits. The preview shows the saved version filled with sample data, so save your placeholder edits first.
To change the layout, click Download .docx, edit it in Word, then Upload edited .docx. Placeholders still in the file keep their labels and review. Unsaved placeholder edits are replaced, so the app asks first.
Create an HTML template
Choose Or write HTML and CSS yourself, enter a Name and the Entity
Write the template in its parts
Part
What goes in it
HTML
The document body with placeholders
CSS
The styling. Fonts: name an included font (Noto Sans, Inter, Roboto, Open Sans, Lato, Merriweather, Source Serif 4, Noto Serif) or one of yours from Settings → Document fonts, listed under Your fonts. The classes page-break, keep-together and keep-with-next control page breaks
Header
Printed at the top of every page
Footer
Printed at the bottom of every page, for example Page {{page}} of {{pages}}
First-page header
Shown on page 1 instead of the header, for example a full letterhead
Page
Page size (A3, A4, A5, A6, Letter, Legal), Orientation, and each margin in points (0–200; 72 pt = 1 inch). The header and footer print inside the top and bottom margins
Watch the preview on the right
It is the real PDF, with sample data, and updates a moment after you stop typing. Problems are listed under the code, and the preview waits until they are fixed. After many previews in a short time, previews pause for a few seconds; your changes are kept.
Click Create template
Placeholders in Word and HTML
The basic placeholders are listed here. The full placeholder language (record fields, related data, the user, dates, links and conditional text) is described in the workflows section.
You write
Prints
{{record.total}}
A field of the record
{{relation.customer.name}}
A field of a related record
{{settings.companyName}}
Your organisation's details
{{record.issueDate|date}}
A date in your workspace format; |date:"DD/MM/YYYY" for your own format
{{record.total|currency}}
An amount with its currency (|currency:"EUR" for another one). Also |datetime, |number, |percent, |upper, |lower, |default:"—"
{{page}} / {{pages}}
Page number and page count (header and footer)
{{#each lines}} … {{this.quantity}} … {{/each}}
Repeats for each related record (for example line items). {{@number}} gives 1, 2, 3
{{#if record.discount > 0}} … {{else}} … {{/if}}
Text only when a condition is true. Also ==, !=, >=, <=, contains, isEmpty, isNotEmpty
A place for the customer to e-sign / the date they signed
In Word, put {{#each lines}} in the first cell of the item row and {{/each}} in its last cell: the row repeats for every line, and header and total rows stay. Pictures: {{image:record.photo 120x80}}, or a QR code: {{qr:links.recordUrl 90}}.
Ask AI to change it
In both editors, type a change under Ask AI to change… and click Ask AI (this needs the AI Builder), for example "move the logo to the left" or "map the customer box to the Customer relation". The AI Builder changes the saved template and the preview updates. Save your own edits first. If the AI changes the template while you edit, choose Keep mine or Load the AI's version.
Good to know
HTML templates make PDFs only; Word templates can make PDF or Word files.
Images and fonts must be uploaded. Images, fonts and stylesheets from other websites are refused, and scripts never run. Upload images as shared workspace files: a private upload prints empty for everyone else.
Word files with macros (.docm), ActiveX controls, embedded objects or fields that run or fetch things (such as DDE, LINK or INCLUDE) are refused. Links to outside files are removed. Page numbers, headers, footers, tables and pictures are kept.
A placeholder that matches no field is marked for review and prints empty. A field the person generating the document can't see prints empty too.
Very long lists print up to a limit and the rest is attached as an Excel file.
Troubleshooting
Message or symptom
Why
What to do
"This HTML template has errors — fix them in the template editor: …"
A {{#each}} or {{#if}} block is not closed, or a condition is wrong
Close the block in the template editor
"Invalid HTML document template: … images from other websites are not allowed"
The template links to an image on another website
Upload the image and use it from there
"This is an HTML template: it makes PDFs only. Generate a PDF instead (format "pdf")."
A Word file was asked for from an HTML template
Generate a PDF
"Save the Word template first, then preview it."
The template isn't saved yet
Save, then preview
"This Word template has no file. Upload the .docx again."
The Word file is missing
Upload the .docx again
"This is an old Word format (.doc). Open it in Word and save it as .docx first."
Old Word file
Save it as .docx
"This Word file contains macros or ActiveX controls (.docm). Templates cannot run code: …"
The file holds code
Save it as a plain Word Document (.docx) and upload that
"The Word file is damaged and could not be opened. …"
The file is broken
Open it in Word, save it again and upload it
"Document service is temporarily unavailable. Please try again in a few minutes."
Word and HTML documents can't be made for a moment
Try again in a few minutes; block templates still work