Send Email Task Template - Send Email Task Template - Templates define the content and layout of documents generated by the Generate Document Task . Template placeholders can reference process variables and metadata, allowing document content to be populated dynamically at runtime. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/iuk1677155344334 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-09T23:07:34.300254
ft:locale
en-US

Templates define the content and layout of documents generated by the Generate Document Task. Template placeholders can reference process variables and metadata, allowing document content to be populated dynamically at runtime.

The template can reference process variable values, using the ${} syntax to insert variable values into the generated document.

The following is an example of the template content with variables:

<html>
<head>
  <title>Invoice</title>
</head>
<body>
  <h1>Invoice ${invoice.invoiceNumber}</h1>

  <p><strong>Customer:</strong> ${customer.fullName}</p>

  <p><strong>Amount Due:</strong> ${invoice.totalAmount}</p>

  <p><strong>Payment Due Date:</strong> ${invoice.dueDate}</p>

  <p>Thank you for your business.</p>
</body>
</html>
``

If the process variables contain the following values:

{
  "customer": {
    "fullName": "Contoso Ltd."
  },
  "invoice": {
    "invoiceNumber": "INV-2026-1045",
    "totalAmount": "$1,250.00",
    "dueDate": "2026-09-15"
  }
}

Then the imported output values are:

Invoice Number: INV-2026-1045

Customer: Contoso Ltd.

Amount Due: $1,250.00

Payment Due Date: 2026-09-15

Thank you for your business.

This approach allows a single template to generate different documents based on process data.