> 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/espanol/skyone-studio/how-to/consolidacion-del-output-de-un-modulo-rest.md).

# Consolidación del output de un módulo REST

La consolidación del output de módulos REST es una funcionalidad que agrupa todos los atributos en un único objeto llamado **"data"**, facilitando el proceso de transmisión y manipulación de información en Skyone Studio. Es decir, es posible agregar o modificar campos sin necesidad de actualizar todo el flujo de integración, además de no ser necesario enviar cada parámetro de forma individual.

#### Ejemplo práctico

En el flujo siguiente, observa que tenemos un módulo REST seguido de un módulo de Retorno:

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

**Ejemplo de flujo con módulo REST**

Por defecto de Skyone Studio, los campos del módulo REST se envían de forma separada. Por lo tanto, en el módulo "Retorno" visualizaremos los atributos desagrupados, es decir, uno por uno:

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

Sin embargo, al activar la consolidación del output del módulo REST, todos los atributos serán enviados como **"data"**:

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

**Los campos se agruparon en "data"**

***

#### Cómo activar la consolidación

Para consolidar el output de un módulo REST, sigue estos pasos:

1. Haz clic en **"Editar"** en el módulo REST.
2. Activa la opción **"Consolidar respuesta"**.

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

3. Haz clic en **"Siguiente"** para probar el módulo.
4. Finaliza los cambios haciendo clic en **"Guardar"**.


---

# 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/espanol/skyone-studio/how-to/consolidacion-del-output-de-un-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.
