# Creating Document Templates

## Creating Document Templates

Document templates are created by first creating document generation tasks in your workflow. Document generation tasks are fully automated.

### Creating a Document Generation Task:

To create a document generation task:

* Open your service
* Drag and drop the service task type to the workflow area.
* Give the task a title
* Chose the type for the task as "Generate Document"

<figure><img src="/files/NoeJOlUm7UPJNfhOOeA6" alt=""><figcaption><p>Creating a new document generation task</p></figcaption></figure>

* In the task configuration form, click on the Document Template edit button as shown below.

<figure><img src="/files/kOMFe5pLnkomiiKLNRcx" alt=""><figcaption></figcaption></figure>

* The document template editor should appear as shown below.

<figure><img src="/files/8sOE0AN4JZnlwsDPLjER" alt=""><figcaption></figcaption></figure>

###

##


---

# 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://admin-docs.onestop.site/managing-services/document-templates/creating-document-templates.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.
