Make

Generate Document (Single)

Dynamically Generate documents using the PDF4me Generate Documents action for Make. Use Word or HTML templates using mustache syntax or merge fields as the source. The data sources can be JSON or XML.

Parameters

Template File TypeString, Required

Map the template file name with the proper extension. It could be -

  • Word - Set this value when sending a Word template
  • HTML - Set this value when sending an HTML template
  • PDF - Set this value for a PDF template
Template NameString, Required

Template File Name

TemplateString, Required

Template file for generating document.

Document Data TypeString
Default: JSON

Data type for the template

  • JSON
  • XML
  • CSV
Document Data TextString

Input Data text to generate the document.

Document Data FileString

Map source document file content from the previous action

Meta Data JsonString

MetaData for Fields

Output

NameString

The name of the output file.

Doc DataBuffer

The output document is in Base64 format.

Generate Document (Single) module in Make