Documents & Forms
Microsoft 365 & SharePoint Tools
Classic SharePoint Tools

Generate HTML documents from template


Automatically generate HTML documents from templates. You can use rich template syntax to embed your data into the document. It supports conditions, placeholders, nested placeholders and iterators.

This is an example of a simple result document:


Just prepare your template. For example, something like this:


Then you can use Microsoft Flow, Logic Apps or REST API to apply your data to a template.

Microsoft Flow

Set up Microsoft Flow connector in a few minutes. You will have a few new actions in your flows that can be used to work with documents.

We prepared an article that demonstrates how to generate HTML document from a template.


Follow a few simple steps to get started and receive API key. You can find detailed information about all available operations in API specification. Then you can proceed to the generation of HTML documents with the help of any language including C#, Python, JavaScript, Ruby.