> 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="https://3969362974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZB1uWLMGztphXAzIZJ1%2Fuploads%2FCxjwIEUcVYdt0VCJUvBS%2Fimage%20(90).avif?alt=media&amp;token=1674505d-00cc-4930-bc08-64bc5099296e" 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="https://3969362974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZB1uWLMGztphXAzIZJ1%2Fuploads%2F4PYvw4h6UER9sh27ETVK%2Fimage%20(4).gif?alt=media&amp;token=4af8ebd3-1e6c-44db-823e-9ac7c5315409" 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="https://3969362974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZB1uWLMGztphXAzIZJ1%2Fuploads%2FloJV7lDWDvfcLw9i3Vhd%2Fimage%20(91).avif?alt=media&amp;token=f85a981e-069d-46c9-9d5a-d7c731555b2a" 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="https://3969362974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZB1uWLMGztphXAzIZJ1%2Fuploads%2FgbcAVvCRmjixRaKgGYjW%2Fimage%20(92).avif?alt=media&amp;token=bdde1557-9b9b-4436-b953-9a927c4029da" 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 by asking a question.

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

```
GET https://docs.skyone.cloud/espanol/skyone-studio/how-to/consolidacion-del-output-de-un-modulo-rest.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.
