Download page Creating an Email Platform Template.
Creating an Email Platform Template
Composer Email Templates utilize HTML Formatting to add static text, images, repeating table data and more.
Create a new Email template
SelectTemplatesoption from the left side navigation menu.
Select the Email tab at the top of the Template list page.
ClickCreate New Template.
Select the Email as a template type and clickCreate. TheTemplate Settingsscreen appears.
Enter values in the following fields. Fields marked with an asterisk are required:
Field
Description
*Template Name
The name for the email template.
Description
Provide a description for the email template.
*Template Type
Select the template type as eitherhtml ortext.
Object Name
Select the object to associate with the email template, where merge fields are pulled from.
*Access Type
Determine internal user's access type aspublic orprivate.
*Email Template Category
Search for an email template category or create a new email template category for the new email template using the ( + ) icon.
*Subject
The subject of your email.
ClickSave.
Composer Email Templates are stored in the Composer Templates tab of the Composer Platform, and can be referenced by their ID through API.
Once the Template is created, click in the text box and remove the default text to begin creating your email template.
Click on the Merge Field Lookup button to open the merge field selection menu and choose merge fields from your data set. Your data set that provides these fields must be imported from your own JSON File. Merge fields are added to the email template body using this format: {{Merge Field}}; example: {{First.Name}}.
Click the Add JSON Data to open the JSON Text Box. Your data set that provides these fields must be imported from your own JSON File. An example JSON structure can be found here.
Copy and paste your JSON code into the box and click Populate Merge Data to make your list of merge fields available.
JSON data is only cached for as long as you are interacting with the template builder. No company data is stored in the Merge Field Lookup interface.
Use the two Radials to choose between displaying your merge fields as text only, or as their merge field syntax. Textonly removes the merge field syntax to help you identify fields easier.
Use the Merge Field Types dropdown menu to choose between Single Merge Fields or Table Data. Use the search bar to find a specific merge field or value. Click the "" to copy the field and paste it into the template.
Merge fields syntax between single merge fields and table merge fields are indicated by their JSON key. The MAIN table (TableStart/TableEnd) will contain everything passed into the jsonData tag, and arrays included inside the jsonData tag will be kept in a new table (TableStart/TableEnd) named after the key used in the JSON.