Skip to content

Email and Document Templates

HARi templates let you write once and personalize automatically. Use them for sales emails, follow-ups, proposals, and any document you send repeatedly.

Go to Settings > Templates > + New Template and choose Email.

Each email template has:

  • Name (internal, for your reference)
  • Subject line (supports placeholders)
  • Body (rich text editor with placeholders)
  • Linked entity (Contact, Company, Opportunity, etc.)

Use Twig-style placeholders to insert record data dynamically:

Hi {{ first_name }},
Thank you for your interest in {{ company.name }}.
Your opportunity "{{ opportunity.name }}" is currently
at the {{ opportunity.stage }} stage.
Best regards,
{{ _user.first_name }} {{ _user.last_name }}

Available placeholders depend on the linked entity and its relations. The template editor shows a list of available fields as you type.

When composing an email from a contact or opportunity record:

  1. Click Insert Template
  2. Choose from your saved templates
  3. Placeholders are replaced with the record’s actual data
  4. Review, edit if needed, and send

Generate PDF or DOCX documents from templates. Ideal for proposals, contracts, and quotes.

  1. Create a template with placeholders (same syntax as email templates)
  2. From a record page, click Generate Document
  3. Choose the template
  4. HARi fills in the placeholders and generates the file
  5. Download the PDF or DOCX, or attach it to an email
PROPOSAL FOR {{ company.name }}
Prepared by: {{ _user.first_name }} {{ _user.last_name }}
Date: {{ _now | date('d/m/Y') }}
Dear {{ first_name }},
Based on our discussion, we propose the following:
Opportunity: {{ opportunity.name }}
Value: {{ opportunity.amount | currency }}
Expected close: {{ opportunity.close_date | date('d/m/Y') }}
[... your proposal content ...]

Before saving a template, click Preview to see how it renders with sample data. The preview uses the most recently viewed record of the linked entity, so you see realistic output.

  • Organize by category: group templates into folders (Sales, Support, Billing)
  • Share with team: templates are available to all users in the workspace by default
  • Version history: every edit is tracked; you can revert to a previous version
  • Duplicate: copy an existing template to use as a starting point

Templates are a key building block for workflow automation:

WHEN contact created
IF source = "Website"
THEN send email using template "Welcome - Web Lead"

The workflow engine resolves all placeholders automatically from the triggering record.