> ## Documentation Index
> Fetch the complete documentation index at: https://signatureapi-daf4ee54.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a template: DOCX

> Adds a DOCX template to an envelope.

A template is a DOCX document with [fields and conditionals](/docs/integrations/power-automate/documents/document). You can fill the template using the [Add data to template](/docs/integrations/power-automate/actions/add-template-data) action.

If you want to add signature places to the template check [signature places](/docs/integrations/power-automate/places/place).

<Frame>
  <img src="https://mintcdn.com/signatureapi-daf4ee54/-zNb44iNHnnmKMui/docs/integrations/power-automate/images/actions/add-template.png?fit=max&auto=format&n=-zNb44iNHnnmKMui&q=85&s=09d1a612f84644b6c40f6f2aed64c8ef" alt="" width="2880" height="1624" data-path="docs/integrations/power-automate/images/actions/add-template.png" />
</Frame>

### Input

<ParamField path="File Content" type="file content" required={true}>
  The file content of the template. Learn about some common [File Content sources](/docs/integrations/power-automate/documents/sources).
</ParamField>

<ParamField path="Envelope ID" type="string" required={true}>
  The ID of the envelope to which the template will be added.
</ParamField>

<ParamField path="Document Title" type="string">
  The title of the document. It may be shown to recipients.
</ParamField>

<ParamField path="Template Data" type="array of string">
  Field: Value pair containing data to fill into the template.
</ParamField>

<ParamField path="Extra Properties" type="string">
  Extra properties for extensibility.
</ParamField>

### Output

<ResponseField name="Document ID" type="string">
  The ID of the document.
</ResponseField>
