Templates

Emails

5min

You can create and manage your email templates in 'Templates' -> 'Emails'.

Document image
๏ปฟ

The email templates can be used in automated workflow tasks, you can learn more about the process of email automation here.

To create a new template you need to click the 'Add' button at the top left corner.

Document image
๏ปฟ

You can edit or remove templates using the buttons next to the template`s name.

Document image
๏ปฟ

Keep in mind that you can`t remove system templates (they are essential for the functioning of hyperportal).

Multilanguage support

You can have a version of one email in each language. You can edit in version separately. You can switch between languages in the editor

Document image
๏ปฟ

The subject and email body have to be made separately for each language

You can use this feature to send emails in the preferred language of your customers(see the email node article to learn more).

Email builder

You can learn more about the email builder here.

Document image
๏ปฟ

CMS integration

You can insert data from CMS entities (e.g. - the name of the customer, the model of the vehicle, etc.) in your emails. To do that you need to type the id of the needed property from the workflow process that will be sending the email. The property id should be in double curly brackets, like this - {{contact.firstName}}.

Document image
๏ปฟ

๏ปฟ

Example - We have an automated process that sends emails after the vehicle reservation.

Document image
๏ปฟ

We can put the name of the customer at the start of the email by leaving the property id of the field. The property id on the customer field in the process is 'contact'.

Document image
๏ปฟ

But the contact entity contains multiple fields, so to refer to the customer`s name you should find the property id of the field that contains the name.

Document image
๏ปฟ

It`s 'firstName'. So to refer to the customer`s name in the email you should enter this - {{contact.firstName}}.

Document image
๏ปฟ

You can learn more about the usage of expressions in the email templates here: https://handlebarsjs.com/guide/expressions.html#basic-usage๏ปฟ

Updated 22 Mar 2024
Doc contributor
Did this page help you?