Template

Create a new Office document by merging an office template with text, images, documents and tables.

The template provided needs to have been created based on the simple templating approach described in the article Create documents with Power Automate.

Note: While this article describes how to use Power Automate, the JSON tab which can be selected throughout the article makes it a great reference for developers.

Document Response Format

The document response format described the format you would like the File to be returned in.

Supported conversion types are:

  • PDF - Adobe PDF.

  • HTML - HTML Format, text and formatting only, images are not included.

  • TXT - Text only, with very limited formatting and no images.

  • Original - The same format as the template sent in the request. No conversion.

The following values should be provided in the Configuration object:

  • PDF

  • HTML

  • TXT

  • Original (default)

Required Properties

  • Template

Its expected that one of Images, Rows, Text or Substitute Documents would also be included, since these are necessary to process the template.

Last updated