Build a PDF template for a module from ready-made blocks - page setup, header, fields, line items, totals, signatures and QR codes - and preview it with sample data.
You need permission to change modules (the app-builder permission) to create or edit templates.
Needs
Turned on in Settings
Who can use this
Account owner
A document template decides how a record of one module looks as a PDF: an invoice, a quote, a delivery note, a certificate. Block templates are built from ready-made blocks and need no design skills.
Where to find it
Sidebar → Admin → Templates opens Document Templates. Each template card shows its name, description, module and badges: Default, Enabled or Disabled, and HTML or Word for those kinds. A template made from a sample also has Review placeholders. Next to New Template, Create from sample starts a template from a document you already use (Create a template from a sample document).
Before you start
You need permission to change modules (the same permission as building apps). People who can only view modules see the list, but New Template, delete and save are greyed out.
Admin screens call modules "entities": the template asks for an Entity.
Choose how to make the template
Click New Template. The New template dialog asks "How do you want to make it?":
Choice
When to use it
Blocks
Build it from ready-made blocks: header, fields, line items, totals, signatures. Quick and simple. Not counted toward your monthly document allowance
Recreate from a sample
You already have the document as a PDF, photo or Word file: AI rebuilds the layout. Greyed out when AI is not in your plan or your role can't use the AI Builder. See Create a template from a sample document
Documents made from Word and HTML templates count toward a monthly allowance that depends on your plan; block templates never do.
Build a block template
Choose Blocks
Under Basic Info, enter a Name, a Description and choose the Entity
Switch on Default to make it the module's default template (it replaces the current default; a module has one). Enabled is on for a new template; leave it on so people can use it.
Under Page Setup, choose the Page Size (A4 or Letter), Orientation, Primary Color, Currency, an optional Watermark and the Margins (top, right, bottom, left)
A new template starts with A4, Portrait, a blue primary colour, USD and margins of 40 on every side. Currency offers USD, EUR, GBP, INR, AUD, CAD, JPY, CNY, AED and SGD. A watermark such as DRAFT, PAID or CONFIDENTIAL prints across every page.
Fill in the Header: Company Name, Company Address, Title and Subtitle
Company Name and Company Address start with your organisation's details ({{settings.companyName}}, {{settings.companyAddress}}). Show the title as a Badge or plain Text.
Under Sections, pick a block in Add section... and fill it in
By default the center shows Page {{pageNumber}} of {{totalPages}}. Page numbers print only in the footer.
Click Preview Sample to download a PDF filled with sample data
You see "Sample PDF downloaded".
Click Create Template
Create Template is greyed out until the template has a Name and an Entity. You see "Template created".
Put record values into the template
Type placeholders in any text box:
{{record.fieldName}} for a field of the record, for example {{record.invoiceNumber}}.
{{record.relation.field}} for related data, for example the customer's name.
{{settings.key}} for your organisation's details.
Under Available Variables (click to insert at the cursor), click a chip (Company, Email, Phone, Address, Website, Tax ID, Brand Color, Date/Time, Page #, Total Pages) to insert it where your cursor is. If no box is selected it is copied instead ("Copied …"): "Click into a text field first to insert it at the cursor." Page # and Total Pages work in the footer only.
Dates print in your workspace's date format. The full placeholder language for workflows and messages is on the workflows pages.
Let AI build or change it
At the top of the editor, type what you want in the AI box, for example "Generate an invoice template with header, line items, and totals". When editing: "add a line items table" or "add summary with totals". AI fills in the blocks; check them before you save. When you edit a template, the blocks AI makes are added after the ones you have.
Large documents
Under Large documents:
Setting
What it does
Big documents
Default for this kind of template (block templates always prepare instantly; HTML and Word templates go to the background when the document is big), Prepare big ones in the background or Always prepare instantly. A big document prepared in the background arrives as a notification with a download link. A big HTML or Word document set to Always prepare instantly is refused
Attach the full list as Excel overNrows
A whole number from 1 to 50,000. A table prints at most N rows plus a note, and the full list is attached as an Excel file. Leave it empty (Off) to use your plan's limit for rows per table
Click the pencil on a template card to edit it, then Save Changes ("Template updated"). HTML and Word templates open in their own editor. If you change the Entity of a saved template, saving moves it to that module, and placeholders for fields the new module doesn't have print empty. If you close the editor with unsaved changes, you are asked before they are discarded.
Click the trash icon to delete a template ("Delete template "…"?"). It is deleted at once and can't be undone ("Template deleted"); documents already made from it are kept.
Troubleshooting
Message or symptom
Why
What to do
"Too many previews in a minute. Wait a few seconds and try again."
Many previews of HTML or Word templates in a short time (block template previews are not limited)