Document Templates

📑 Find out how to create and customise document templates for generating standardised documents.

Document templates are pro forma documents that merge record data and create a unique link for users to access, review and sign. The Docx Generator converts a .docx template containing tags, similar to the email and PDF builders, into a new .docx file.

1. Uploading Docx Templates

To upload Docx Templates in Clevero, follow these simple steps:

  1. Go to Settings > System Settings.
  1. Select Document Templates.
  1. Click Upload Docx.
  1. Complete the fields in the Docx Template Details and E-Signature Details sections. See the tables below.
📎Docx Template Details
FieldDetails
Select RecordChoose the relevant record associated with the template.
Name of TemplateEnter a name for the template. This name is used as a reference when generating a merged document from the Docx Generator Entry Layout Tile or from the Docx Generator Custom UI.

Name of Template-Copy

(Optional)

Provide a name for a copy of the template. The Docx Generator creates a copy of the original docx file in Google Drive and merges the values from the system. This name will be used for the copied and merged files stored in Clevero's Google Drive.
DescriptionAdd a brief description of the template.
Docx Template FileUpload the Docx template file. It could be any docx file, but it must be below 10MB.
  • Note*: The docx file name will match the name of the document in Google Docs.
📝E-Signature Details
FieldDetails
Select Default Email TemplateChoose the default email template for the e-signature feature. This will automatically fill in the email template when you click the "Send for Signature" button in the Docx Generator Entry Layout.
Select Default Destination FieldSelect the default destination field for storing the signed PDF. The file field will automatically be filled in when generating a merged document from the Docx Generator Entry Layout Tile.
Select Default Recipient FieldChoose the default recipient field for the e-signature. This will automatically fill in the "To" field in the email popup.
Generated Document NameSpecify the name of the generated document. This is for internal use to reference documents created by the system.
Filename Prefix

Add a prefix to the file name of the signed PDF.

After the docx is generated and the PDF is signed, it will be stored in the destination-file-field with this prefix. When you download the PDF, it will have this filename.

Number of SignersSpecify the number of document signers. You can configure up to five signers for the e-signature process.
  1. Click the "Submit" button to save the document template.

2. Editing Docx Templates

Once you have successfully created a template, you may want to add additional features, such as linking to associated values and enabling signature capabilities.

  1. Select the template.
  2. Click on the "Edit Template" button.
  3. Modify the look of your document template by using tags. Tags are marked with the format {{[internalid]}}.

For example, you can use the tag {{[primary-contact].[full-name]}} to automatically populate the name from the selected record.

Dear {{[primary-contact].[full-name]}}, 

Engagement Letter for Professional Services for firm: {{[name]}}

Thank you for engaging Carla Ferrari Consulting.

This letter ("Engagement Letter”) together with our Standard Terms of Engagement ("Terms”) will form our agreement with you and your entities (“Engagement”) and should
be read carefully. Our Terms can be accessed on our website at
https://www.madeupterms.com/terms.

At this time, you have asked us to act for the following clients:
{{[client-name]}}

The above example will show the following display in the document:

👍

Info:

Learn more about Tags here.

  1. Additionally, [[fieldname|type|req]] can be used to create fields in the doc, allowing users to fill in the information when opening the document. Add req if the field is required; otherwise leave it out (e.g. [[fieldname|text]]).


    Note: Don't put any spaces inside the tag, either around the | separators or in the field name. [[name|text|req]] works, but [[name | text | req]] doesn't.

I, (insert full name):  [[name|text|req]]
(a) Confirm that I have read and understood the Engagement Letter and the attached Terms and
Conditions of Engagement (Agreement)
(b) Am authorised to enter into this Agreement on behalf of the company, person or entity named below
(c) Confirm acceptance of the offer set out in the Agreement

Name:  [[name|text|req]]

Date:  [[date2|date|req]]

Signature:

[[sign|signature|req]]
📘

Info:

Please note that various field types like text, date, signature, number, and more - can be used to cater to specific data requirements.

The above example will show the following display in the document:

3. Docx Features

Once you have uploaded your Docx templates, Clevero allows you to customise them to suit your requirements. This will enable you to tailor your document's content, layout, and designs.

3.1. Generate Document

The "Generate Document" feature lets you create a new .docx file by resolving the values within your uploaded template. This dynamic process ensures that each document contains relevant data and information, ready for further customisation and distribution.

When you generate a document, you can choose to create it straight away or to review it first.

OptionDescription
GenerateCreates the document straight away, using the values from the entry.
Generate then EditCreates the document as a draft and opens it in the editor, so you can review, edit, finalise or delete it before it is completed. See 3.2. Draft Documents.

3.1.1. Generating a Document Straight Away

Use this when the document doesn’t need any changes before it is sent or signed.

  1. Open the entry you want to generate the document from.
  2. Click New Document (or the button’s custom label, if one has been set).
  3. In the Generate Document window, select the template in Select template.
  4. Click Generate.
  5. The document is added to the document table with a Status of Ready for Signature.

From the document table, you can:

📘 Note: A document created with Generate can’t be edited or deleted. To make changes, duplicate it and edit the copy.

3.1.2. Generating and Editing a Document

Use this when you want to review or change the document before it is completed.

  1. Follow steps 1 to 3 above.
  2. Click Generate then Edit.
  3. The document is added to the document table with a Status of Draft, and opens in the editor.
  4. Make any changes, then click Finalize to complete it, or Delete to remove it.

📘 Note: A draft stays in the document table until it is finalised. You can reopen it at any time by clicking Edit, or create a copy of it by clicking Duplicate. See 3.2. Draft Documents.

3.2. Draft Documents

When you use Generate then Edit, the document appears with a Status of Draft until it has been finalised. A draft can be reviewed, edited, finalised or deleted before it becomes a completed document.

Each draft row has three actions available directly in the table:

  • Edit: opens the document in the full-screen editor to review or make changes before finalising.
  • Duplicate: creates a new draft copy of the document. See 3.6. Duplicating a Document.
  • Delete: permanently removes the draft.

3.2.1 Deleting a Draft from the Table

  1. Open the record containing the document.
  2. Locate the row where Status shows Draft.
  3. Click Delete.

3.2.2 Deleting or Finalising a Draft from the Editor

  1. Click Edit on the draft row to open it in the full-screen editor.
  2. Use Delete to permanently remove the draft, Duplicate to create a copy of it, or Finalize to complete it.

⚠️ Important: Deleting a draft is expected to be permanent. Only delete a draft you no longer need.

3.3. Merged Document

With Merged Document, you can generate a document from a template with data from the current entry merged into it. The tags in the template (e.g. {{[primary-contact].[full-name]}}) are filled in with the entry's values, giving you a complete document ready to preview, download or send for signature.

3.4. eSignature Action

Clevero simplifies the signing process with the "eSignature Actions" feature. This feature allows you to send the document to be signed via email or by sharing a direct link.

3.5. Signed Document

The "Signed Document" feature helps you keep track of successfully signed documents.

3.6. Duplicating a Document

You can duplicate a generated document to create an editable copy, for example to send the same document to another signer without generating it again.

  1. Open the record containing the document.
  2. In the document table, locate the document you want to copy.
  3. In the Merged Document column, click Duplicate.
  4. In the Duplicate Document window, click Confirm.
  1. The copy opens in the editor. Make your changes, then click Finalize.

📘 Note: The copy is created as a draft, so it can be edited, finalised or deleted like any other draft. See 3.2. Draft Documents. You can also duplicate a document from the editor by clicking Duplicate.

4. Configuring the Document Generator on an Entry Layout

The Document Generator is the panel on an entry where users create, view and manage documents. Admins can configure it for each entry layout, for example to preselect a template or to rename the button users click to generate documents.

  1. Open the entry layout in the Entry Layout Builder.
  2. Select the Document Generator component. To add one, drag Document Generator from the Create tab onto the layout.
  3. Open the Inspect tab. The settings are listed under Document Generator configuration.
  4. Update the settings as required.
  5. Click Save changes.
SettingDescription
TitleThe heading shown at the top of the panel.
Default templateThe template preselected when users generate a document. See 4.1.
Button TextThe label on the + New Document button in the top right of the panel. If left empty, it shows New Document.
Button ColorThe colour of the + New Document button.
Placeholder TextThe message shown in the panel when there are no documents. If left empty, it shows No documents to display.
IconThe icon shown before the button label, entered as an icon name such as fa-duotone fa-pencil. Use the colour box next to it to set the icon colour.
Disable SignatureUsers can generate documents, but can’t send them for eSignature.
Disabled Document GeneratorUsers can’t generate documents from templates.
Disabled Document UploadUsers can’t upload files to create a document pack.
Same LineOptional. The screen width, in pixels, below which the button moves onto its own line.

4.1. Setting a Default Template

If users usually generate the same document from a layout, set it as the default so they don’t have to choose it each time.

  1. Under Document Generator configuration, select a template in Default template.
  2. Click Save changes.

The template is now preselected in Select template whenever users open the Generate Document window on that layout. They can still choose a different template.

📘 Note: Only templates uploaded for the layout’s record appear in Default template. If none have been uploaded, the list is empty.

4.2. Customising the New Document Button

The + New Document button in the top right of the panel opens the Generate Document window. You can rename it to describe the document it creates, such as Generate Signature Document, and change its colour and icon.

  1. Under Document Generator configuration, enter a label in Button Text.
  2. Click Button Color and choose a colour.
  3. (Optional) Enter an icon name in Icon to replace the + icon, then use the colour box next to it to set the icon colour.
  4. Click Save changes.

📌 Need Help?

If you require assistance or encounter any issues, please don't hesitate to contact us for further support.


Did this page help you?