# ​How to Create a Structured Template

### What is a structured document

A structured document is a template document with static content and dynamic fields. Static content stays the same across envelopes, while dynamic fields are filled during processing. New templates include one structured document by default, and you can add more manually.

### How to add a structured document

{% columns %}
{% column width="58.333333333333336%" %}

1. Open the left documents panel.
   * If the panel is collapsed, click the **Documents** ![](/files/BRzfkR3Ny6XkhsLaDqbw) icon to expand it.
2. Click the <img src="/files/ekbMrgh2yIWE1HFR3sA3" alt="" data-size="line"> button.
3. Select **Structured**.
4. A new structured document is added to the template.
5. Add content and fields as needed.
   {% endcolumn %}

{% column width="41.666666666666664%" %}

<figure><img src="/files/3NPJwO3eHAXzy824O1uF" alt="" width="127"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### How to clone a structured document

{% columns %}
{% column %}

1. In the document header, open the context menu.
2. Click the <img src="/files/AZCYBszuyqcuOhTpt3iu" alt="" data-size="line"> icon.
   {% endcolumn %}

{% column %}

<figure><img src="/files/jK5jxqpOLgBut2pPRaoi" alt="" width="107"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### How to delete a structured document

{% columns %}
{% column %}

1. In the document header, open the context menu.
2. Click the <img src="/files/HJaoHCVeHouBi8aE3uSb" alt="" data-size="line"> icon.
   {% endcolumn %}

{% column %}

<figure><img src="/files/84p6H3zG1crCgLfdIzEj" alt="" width="107"><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.docstudio.com/user/template-builder/template-editor/how-to-create-a-structured-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
