> 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/zeevdocs/integracoes/como-integrar-outras-ferramentas-com-o-zeev-docs/como-preparar-uma-instrucao-para-executar-uma-operacao.md).

# Como preparar uma instrução para executar uma operação

## Visão geral

Para executar uma operação no Zeev docs utilizando o recurso de integração, é necessário a criação de um XML semi-estruturado contendo as instruções da operação desejada, sendo que para toda operação executada no Zeev docs é gerado um protocolo de processamento da instrução XML. Procedimento para execução de uma operação:

* Criação de XML semi-estruturado contendo as instruções de acesso conforme o módulo desejado:

  * Atualizar dados (campos) do documento;
  * União de documentos;
  * União de documentos com versionamento;
  * Rotear documento para fila, situação e pendência;
  * Duplicar documento;
  * Excluir documento logicamente;
  * Restaurar documento excluído;
  * Copiar documento para outra aplicação;
  * Pré-indexar documento.

  Submeter XML para processamento. A instrução XML submetida será processada imediatamente no Zeev docs e retornará um número de protocolo referente ao processamento:

  * **Serviço Web**: *https\://\<servidor do* Zeev doc&#x73;*>/services/silentLogin.svc*
  * **Método**: ExecuteAction(string xml), retorno string.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://kb.stoque.com.br/zeevdocs/integracoes/como-integrar-outras-ferramentas-com-o-zeev-docs/como-preparar-uma-instrucao-para-executar-uma-operacao.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
