Before you start
- You need the Owner or Admin role. Members and people with the Billing role see an empty list and can’t open, create or change templates.
- HubSpot must be connected to your organisation. See HubSpot setup.
Open Document templates
Select Settings in the left sidebar, then Document templates under Integrations. The screen has a Templates list on one side and the template editor on the other. The list shows each template’s name; when it’s empty, it reads “No document templates yet.”Create a template
- Enter a Name for the template.
- Write the Template JSON. The editor starts with an example you can change.
- Select Create template.
title and a list of blocks, rendered from top to bottom. A template needs at least one block and can have up to 80.
To insert a contact property, put a token in the
contact.<property> form inside double braces, such as {{contact.firstname}}. You can use tokens in the title, in heading and paragraph text, and in table cells. When the Generate Document action runs, Flowella replaces each token with the enrolled contact’s value.
Edit or delete a template
- Select the template in the Templates list. The editor shows its Name, its Template ID and its Template JSON.
- Change the name or the JSON, then select Save changes.
Use a template in HubSpot
- Select the template in the Templates list.
- Next to Template ID, select Copy ID.
- In your HubSpot workflow, paste the ID into the Document template ID field of the Generate Document action.
If the document isn’t created
When the action can’t create the PDF, the workflow step fails with an error code:Related
Generate Document (HubSpot)
The workflow action that fills in these templates.
AI Document Reader (HubSpot)
The companion action that reads documents into contact properties.

