> For the complete documentation index, see [llms.txt](https://kb.stoque.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.stoque.com.br/zeev/geracao-automatica-de-documentos/o-que-e-a-geracao-automatica-de-documentos.md).

# O que é a geração automática de documentos

É possível gerar documentos automaticamente pelo sistema, de acordo com um template e utilizando os valores preenchidos no formulário do aplicativo de processo.

A pessoa poderá gerar documentos nos formatos .PDF ou .DOCX.&#x20;

A partir da versão 4.31 essa funcionalidade está disponível exclusivamente por meio do uso da API de createFile. Para mais informações, acesse o Swagger do seu ambiente pelo seguinte endereço: *https\://\<endereço de seu ambiente Zeev>/api/docs/index*

Após acessar a URL, procure pela API **createFile** (na seção Files / Anexos).

{% hint style="danger" %}
Desde a versão 4.31 o uso dos webservices de createPDF ou createDOCX tornou-se obsoleto. Não será possível configurar novas integrações com esses webservices.

A partir de 01/07/2025, a camada de webservices do produto será descontinuada sendo substituída pela API.
{% endhint %}

Assista no vídeo abaixo uma demonstração prática do recurso:

{% embed url="<https://www.youtube.com/watch?v=9KDwwBskpZw>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kb.stoque.com.br/zeev/geracao-automatica-de-documentos/o-que-e-a-geracao-automatica-de-documentos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
