E-mail Templates Overview
The E-mail Templates tab of a function in the Function Designer lists every e-mail that the function sends, and is the single place where their content is maintained. It contains two kinds of templates:
- Product e-mails: E-mails that the function's own processes send from the application (for example a survey invitation, a controlled copy reminder, a purchase order sent to a vendor or a work order shared with a provider). They are delivered with the product, cannot be deleted and can be customized and restored to their default content.
- State notification templates: Templates created by the organization for the function's state notifications (and for task descriptions and refusal messages selected on the States tab). They can be created, edited and deleted here.
E-mails that do not belong to a function (for example password reset or e-mail confirmation) are managed under System E-mails. Both screens use the same e-mail editor, described in Editing an E-mail Template.
Purposes of E-mail Templates
- Adapting the wording of the function's e-mails to the organization's tone and terminology.
- Writing and translating the e-mails in every language used by the organization.
- Creating the templates that state notifications send when a record reaches a step.
- Seeing at a glance when each e-mail is sent, which languages have been written and who changed it last.
- Returning a customized e-mail to the content delivered with the product.
When the Tab Is Shown
The tab is shown in the function workspace (and as E-mail Templates in the row action menu of the function list) when:
- the function's record type has a state workflow, so that state notifications can be defined, or
- the function already owns e-mail templates even though it has no workflow (for example Survey).
Definition functions without a workflow do not show the tab. The tab also requires the Update a Function Design permission.
E-mail Template Operations
The e-mail template list provides standard functions such as filtering and customizing field visibility. These functionalities are detailed under General System Usage.
Under the tabs, a short text explains that the list holds the e-mail and notification templates for the function's records. If the function sends no e-mails yet, the list shows "This function sends no e-mails yet".
Template List
The list shows the following columns:
- Name: The display name of the template. The row action menu (Edit, Delete) is opened from this cell.
- When is it sent: A sentence describing when the e-mail goes out, for example "When a record reaches the (step) step", "When a task is opened at the (step) step" or, for a template not linked to anything yet, "Sent once it is linked to a status notification or an alert". When other functions send the same template, a warning tag This template is also used by ... shows how many; its tooltip lists them. A change to such a template affects their e-mails too.
- Status: Default (shield icon) when the template still uses the content delivered with the product, so it follows product updates; Customized (pencil icon) when the organization has saved its own content, which is then no longer overwritten by updates.
- Languages: One tag per language. Languages that have been written are shown first and highlighted; the remaining ones are collapsed into a +n counter. For a product e-mail, an unwritten language is sent with the default content in the recipient's language. For a template created by the organization, an unwritten language is shown in amber: an e-mail in that language falls back to the template's base language.
- Last change: Who last changed the content and when. A template nobody has changed shows System.
The list is sorted with the organization's own templates first (newest first), then by name. It can be searched with the search bar and filtered by Name (search by name or when it is sent) and Status.
Creating a Template
The New template button on the right of the function header opens a window with two fields:
- Name: The display name of the template, required, at most 120 characters. Enter a name that reflects the template's purpose and sets it apart in the list. The technical template name is derived from it and the function automatically.
- Language: The language of the first content. Defaults to the language of the current session.
After Save, the template is created with a default body (a greeting, a short notification text and a link to the record) and the editor opens so that you can write its content. The new template can then be selected as the Message Template of a state notification.
Editing a Template
Edit opens the template in the e-mail editor on a full page. The editor is described in Editing an E-mail Template.
Deleting a Template
Delete is offered only for templates created by the organization (state notification templates). After the confirmation "This template will be permanently deleted. This cannot be undone.", the template is removed. Product e-mails cannot be deleted. A template that is still used by a state notification cannot be deleted; remove it from the notification on the States tab first.
Authorization and Access Control
Topics related to authorization and access control are detailed under User Management and Authorization.
- Function Designer: Required to open the Function Designer and to read the template list, the template content and the template fields.
- Update a Function Design: Required to see the tab and to create, save, restore, delete, test-send, preview with sample data and draft templates with AI.
- Design assistant / AI: The Write with AI button of the editor requires AI to be available for the tenant.
Warnings and Error Messages
- Name Required: "Enter a name" when a new template is saved without a name.
- Product E-mail: "A product e-mail cannot be deleted."
- Template in Use: "This template is used by a state notification and cannot be deleted. Remove it from the States tab first."
- Not Found: "E-mail template not found."
- Wrong Function: "This e-mail template does not belong to the selected function."
User Tips and Best Practices
- Name by Purpose: Use names such as "Approval request" or "Rejected - notify requester" so that the template is easy to find in the notification's template picker.
- Write Every Language You Use: For templates you create, write each language your recipients use; otherwise they receive the base language.
- Watch the "Also Used By" Tag: A template shared with other functions changes their e-mails too; create a separate template if only this function should change.
- Keep Product E-mails on Default Where Possible: A template on Default receives wording improvements with product updates; a customized one does not.
Frequently Asked Questions
Why Can't I Delete a Template?
Only templates created by the organization can be deleted, and only while no state notification uses them. Product e-mails can only be restored to their default content.
Where Do I Select the Template That a State Sends?
On the States tab: open the state, add or edit a notification and choose the template in Message Template. See Notifications.
What Happens in a Language I Have Not Written?
A product e-mail is sent with its default content in the recipient's language. A template you created is sent in its base language.
Why Is the Tab Missing for a Function?
The function has no state workflow and owns no e-mail templates, or you do not have the Update a Function Design permission.