Email Templates

The app will send out emails whenever there are new registrations or status changes.

These emails can be customized using the template editor, and different data are available for different templates.

The data in the template is dynamic, so it must be in the following form:

{{ data }}

Emails after form submission

Usually, one email is sent to the customer for confirmation, and another is sent to the admin for notification when a form is submitted.

The [registered-products] placeholder in these emails will be replaced by the actual registered products or form content.

Here are additional data fields available for the email template:

Timestamp when form submitted: {{ now }}
customer first name: {{ customer.firstName }}
customer surname: {{ customer.surname }}
customer email: {{ customer.email }}
customer address 1: {{ customer.address1 }}
customer address 2: {{ customer.address2 }}
customer city: {{ customer.city }}
customer state: {{ customer.state }}
customer country: {{ customer.country }}
customer post code: {{ customer.postCode }}
customer phone: {{ customer.phone }}
ids of the registration: {{ ids }}

Note: The placeholder {{ ids }} will output all the IDs if the form allows adding multiple products. If it's a single-entry form, it will output the ID of that entry.

Emails for status change

By default, when a status changes, no email will be sent out unless there is content inside the status's email template.

The following data fields are available for the email template:

Note: {{ note }}
Status: {{ status }}
Customer name: {{ reg.customerName }}
Customer email: {{ reg.customerEmail }}
Product id: {{ reg.productId }}
Product name: {{ reg.productName }}
Purchase date: {{ reg.purchaseDate }}
Serial Numbers: {{ reg.serialNumbers }}
Source : {{ reg.source }}
Order id: {{ reg.orderId }}
Order number: {{ reg.orderNumber }}
Warranty: {{ reg.warranty }}
Warranty start date: {{ reg.warrantyStartDate }}
Warranty end date: {{ reg.warrantyEndDate }}
Last service date: {{ reg.lastServiceDate }}
Created at: {{ reg.createdAt }}

Last updated