> For the complete documentation index, see [llms.txt](https://docs.skyone.cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.skyone.cloud/skyone-studio/how-to/consolidacao-de-output-de-modulo-rest.md).

# Consolidação de output de módulo REST

A consolidação de output de módulos REST é um recurso que agrupa todos os atributos em um único objeto chamado "data", facilitando o processo de passagem e manipulação de informações no Skyone Studio. Ou seja, é possível adicionar ou modificar campos sem atualizar todo o fluxo de integração, além de não ser necessário passar cada parâmetro individualmente.&#x20;

### Exemplo prático

No fluxo abaixo, observe que temos um **módulo REST** seguido por um **módulo Retorno**:

<figure><img src="/files/ufPXSgDvjDaUKMNfCBYa" alt=""><figcaption><p>Exemplo de fluxo com módulo REST</p></figcaption></figure>

Por padrão do **Skyone Studio**, passamos os campos do módulo REST de forma separada. Sendo assim, no módulo "**Retorno**" iremos visualizar os atributos desagrupados, ou seja, um a um:

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

Porém, ativando a consolidação do output do módulo REST, todos os atributos serão enviados como "**data**":

<figure><img src="/files/B4wssKVYSspCyKaNKS5F" alt=""><figcaption><p>Os campos foram agrupados em "data"</p></figcaption></figure>

### Como ativar a consolidação&#x20;

Para consolidar o output de um módulo REST, siga os seguintes passos:

1. Clique em "**Editar**" do módulo REST.
2. Ative a opção "**Consolidar resposta**".

<figure><img src="/files/tK16WWJUcfPcF6XgwZfa" alt=""><figcaption><p>Tela para ativar a opção "<strong>Consolidar resposta</strong>" </p></figcaption></figure>

3. Clique em "**Próximo**" para testar o módulo.
4. Finalize as alterações clicando em "**Salvar**".&#x20;


---

# 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://docs.skyone.cloud/skyone-studio/how-to/consolidacao-de-output-de-modulo-rest.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.
