Generate Document From HTML Template

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

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>

Setup Parameters

Parameter

Description

Example

App

Select the app.

Plumsail Documents

Action event

Select an action from the Plumsail Documents bundle.

Generate Document From HTML Template

Account

To allow your zaps 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.

Configure Parameters

Parameter

Description

Example

Data

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

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

Template file

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

Zapier 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>

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 Generate Document From HTML Template action.

Generate Document From HTML Template Example