Open Beta feature
Available for the following plans: Lite, Plus, Unlimited HR, Essentials, Engage, Elite, Unlimited HR+Payroll
Available for the following HR Classic plans: Standard, Premium, Platinum
Available for the following user access levels: Admin
The Document Template Agent turns your existing HR documents, such as employment contracts, offer letters, HR documents and policies, into Doc Studio templates. You upload your files in the Hero AI chat, check what the agent proposes for each one, and it builds the templates for you. Nothing is created until you confirm.
Before you start
The Document Template Agent works with Doc Studio only. It does not work with the basic or advanced template editors. See Create a document template in the Doc Studio for who has access to Doc Studio.
This article explains how to:
- Create templates from your documents
- Review and confirm the agent's proposals
- Edit a template using chat
- Check formatting differences in your templates
How it works
- Upload: attach your files in the Hero AI chat. The agent accepts PDF, DOCX, JPG and PNG files.
- Review: the agent looks at one document at a time and proposes a template name, template type, signature logic, sending signatories and countries. You confirm or edit each proposal.
- Create: once every proposal is confirmed, the agent builds the templates and summarises the clauses and custom variables it set up.
- Refine: open any template and ask the agent to make changes by chat.
New templates are created as Disabled, so they can't be issued to employees until you review them and enable them manually.
What you need to do
Gather the documents you want to convert. You can upload up to 30 files at a time, and each file can be up to 100 MB. Use the original Word or PDF file where you can, as it gives the agent the clearest structure to work from.
Get started
- Log in to Employment Hero.
- Click the Compliance menu option on the left-hand side navigation.
- Click Template Library.
- Click Add template, then click Set up with AI. The Hero AI chat opens on the right.
- Click the paperclip icon, attach your files, then click the send arrow.
- Check the list under We've got these files. Click the X next to any file you don't want included.
- Click Set up. This locks the file list.
The agent then reads your files and shows a proposal for each one in the chat.
The agent shows one proposal at a time under Review the classification. Each proposal shows the source file, and you can hover over the sparkle icon next to the file name to see a summary of the document.
-
Check the following details:
- Template name: the agent avoids names that are very close to your existing templates and warns you if the name you choose is similar to one that already exists. It never blocks you from using it.
- Template type: for example, an employment contract, a recruitment document, an HR document or a policy.
- Signature logic: how the document is signed. The options are No signatures (read or acknowledge only), Sender only, Sender then recipient or Recipient only.
- Sending signatories: how many people sign as the sender.
- About this template type: a short description of the template type and where you can use it in the platform.
- Countries: optional.
- If the details are wrong, click Edit and update them.
- Click Confirm classification.
- Repeat for each document. You can keep editing confirmed proposals until all of them are confirmed.
When every proposal is confirmed, the agent creates your templates. It then summarises the clauses and custom variables it set up.
When the templates are created, you get a link to the Template Library and a link to each new template in edit mode. You can make changes straight away, or ask the agent to change a template in chat.
New templates appear in the Template Library without you needing to refresh the page. Review each template before you enable it. You can enable a template manually once you are happy with it.
- If your file closely matches an Employment Hero template, the agent suggests that template. It suggests one match at a time.
- If your file is similar to a template already in your library, the agent flags it.
- If you upload several similar files, the agent can merge them into one proposal.
- If one file contains several different documents, the agent creates a separate template for each. This is rare.
- Optional clauses: the agent looks for notes in your file such as "delete if not applicable" or "optional:".
- Alternative clauses: the agent looks for wording such as "OR", "Option 1" or "If", or repeated section numbers, and names each alternative based on its context.
- Variables: the agent uses the variables in your variable library. If it finds a detail that varies from person to person and isn't in the library, it creates a custom variable. It can also use the custom fields on your Additional Information page in Settings.
Always check the clauses and variables before you enable a template.
For Word files, the agent keeps the page breaks you set on purpose. For PDFs, it adds a page break only where a page clearly ends early, so check these. You can move or delete any imported page break in the editor.
Maintain your templates
- In the Template Library, find the template you want to change.
- Click Actions, then Edit template to open the template in edit mode.
- In the Hero AI chat, describe the change you want. For example, "Make the probation clause optional".
- Wait for the agent to finish. The template is locked to manual edits while the agent works, and the agent summarises what it changed when it's done.
- Click Save to keep the changes.
If you don't save, the changes are not kept.
Further information
Formatting differences between your file and the template
The agent aims to get your template about 90% of the way to your original. Doc Studio has some formatting limits, so check each template before you enable it.
- Lists are always indented. Doc Studio indents bulleted and numbered lists, even when your original file does not.
- Sub-numbering isn't supported. Numbers such as 1.1 and 1.2 become whole numbers.
- Text sizes may differ. Doc Studio has Heading 1, Heading 2 and Normal text styles only, so text set to a specific size won't match.
- Spacing can look tighter. Doc Studio doesn't have line or paragraph spacing controls yet.
- Multiple columns aren't supported. The agent places the content in a table instead.
Get help from the Employment Hero Community
If you are looking for further ideas, try our community.