Create a PDF Template
A PDF template is a reusable document design, such as a permit certificate, license, or notice letter, that GovAssist fills with data from a record when it generates a PDF. You design the template once; an automation produces the finished PDF for each record and can attach it to the record or email it to the applicant.
Prerequisites
- A role that can view and create PDF templates. Template, department, and template type permissions are set separately in your role (see Role-Based Access Control). Without create permission the Add Template button is hidden; without edit permission templates open read-only.
- The entity whose records will fill the template (for example, Building Permit) already exists, with the fields you want to print.
- At least one department and one template type. You can create a template type from inside the Add Template dialog; departments are created in Template Settings.
How PDF templates fit together
| Piece | What it is | Where you set it |
|---|---|---|
| Template | The document layout, text, and merge fields | PDF Templates list and the template editor |
| Department | Owner of the template; supplies the default header and footer printed on every page | Settings, Departments tab |
| Template Type | A category such as Permit Certificate or Notice Letter, used for the tabs on the template list | Settings, Template Types tab |
| Entity | The record type whose fields can be merged into the template. Fixed once the template is created | Add Template dialog |
| Generate PDF action | The automation step that renders a record into a PDF | Automation builder |
Steps
Open PDF Templates
Open your app and select PDF Templates in the left menu. The list shows a card for each template with its name, entity, template type badge, a Published or Draft badge, and the Modified date.
Click Add Template
Click Add Template in the top right. The Add Template dialog opens.
Name and describe the template
Enter a Template Name (up to 100 characters) and a Description (3 to 500 characters). Both are required. The name is what automation builders see when they pick a template, so make it specific.
Choose the department
In Department Type, select the department that owns the document. Its default header and footer will appear on every page of the PDF.
Choose the entity
In Entity, select the record type that will fill the template. The fields of this entity, and of the records associated with it, become the merge fields you can insert.
The entity cannot be changed later
After creation the Entity field is locked. To build the same document for a different entity, create a new template.
Choose the template type
In Template Type, select a category. If the type you need does not exist yet, type its name and click Add Template Type at the bottom of the list (requires permission to create template types).
Decide on Force Single Page
Check Force Single Page for documents that must print on one sheet, such as a certificate to post on site. GovAssist scales the content to fit one page, and falls back to multiple pages if it cannot fit while staying readable.
Create and open the editor
Click Create. GovAssist saves the template as a draft and opens it in the template editor.
Find and manage templates
- Tabs across the top of the list filter by template type. All shows every template.
- Search templates filters by name. Click the X in the box to clear it.
- Filters opens two filters: Status (All, Active, Inactive) and Publish Status (All, Published, Draft). Click Apply or Reset.
- Click a card to open it in the editor (or read-only view if you cannot edit). The card's More options menu offers Edit, View, and Delete. Deleting asks for confirmation and cannot be undone.
- To rename a template or change its description, department, type, or Force Single Page setting later, open it and click Configure.
Example
A building department sets up the certificate it issues for every approved Building Permit.
| Setting | Value |
|---|---|
| Template Name | Building Permit Certificate |
| Description | Certificate issued to the applicant when a building permit is approved. Post on site. |
| Department Type | Building Services |
| Entity | Building Permit |
| Template Type | Permit Certificate |
| Force Single Page | Checked |
Next, the department designs the certificate in the editor, publishes it, turns it on, and binds it to an issuance automation. The full walkthrough is in Generate a Permit Certificate Automatically.
Common mistakes
- Picking the wrong entity. The entity is locked after creation. If your certificate needs contractor details, pick the permit entity (which is associated with the contractor), not the contractor entity.
- Creating a template before its department. The department supplies the header and footer. Create the department with its logo first so you see the real page while designing.
- Expecting a new template to be usable right away. A new template is a draft. It must be published and switched to Active before an automation can generate PDFs from it. See Publish and Activate a Template.
- Vague names. Automation builders choose templates by name. "Certificate" is hard to find; "Building Permit Certificate" is not.
Related guides
Design a Template in the Editor
Layout, text styles, tables, images, and payment tables.
Insert Record Fields
Merge record and associated-record fields, and how values are formatted.
Set Up Departments and Template Types
Default headers, footers, logos, and template categories.
Publish and Activate a Template
Drafts, publishing, discarding changes, and the Active switch.
Generate a Permit Certificate Automatically
Bind a template to an issuance automation that attaches and emails the PDF.