Create HTML from template

Generates HTML result from an HTML template with the help of Make.

Parameters

Output Parameters

Parameter

Description

Example

Result HTML

HTML result created from a source HTML template.

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>HTML from template</title>
</head>
<body>
    <ul>
        <li>David Navarro </li>
        <li>Jessica Adams</li>
        <li>Derek Clark</li>
    </ul>
</body>
</html>

Input Parameters

Parameter

Description

Example

Connection

To allow your scenarios to get information from and send it to Plumsail Documents, you need to create a connection.

For more information on how to create a connection to Plumsail Documents, see the online Help.

Input type

Defines the source of the HTML.

HTML File or Raw HTML

Source HTML

HTML content of a source template. The option depends on the Input type. You can specify raw HTML here or extract file content from other apps like:

  • SharePoint

  • Salesforce

  • Box

  • OneDrive

  • Google Drive

  • Dropbox

  • SFTP

  • File System

List of apps

You can find description of template syntax in this article.

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>HTML from template</title>
</head>
<body>
    <ul>
        {{#each data}}
        <li>{{name}}</li>
        {{/each}}
    </ul>
</body>
</html>

Template data

Data to bind to the template in JSON format. You can obtain this data from other Make.com apps.

{
    "data": [
        {
            "name": "David Navarro "
        },
        {
            "name": "Jessica Adams"
        },
        {
            "name": "Derek Clark"
        }
    ]
}

Locale

An optional parameter that allows you to specify the desired regional culture format. You can select the value from a predefined list. If you don’t specify a value, the default will be “en-US” (english, USA). All allowable regional culture formats you can find here

en-US

Timezone

An optional parameter that allows specifying the desired timezone.

UTC

Example

Download a source HTML template and use the output in the Create HTML from template action, or apply raw HTML.

Create HTML from template Example