> 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/integraciones/flujos/modulos-de-herramientas/modulo-llamada-ai-agent.md).

# Módulo Llamada AI Agent

### Definición

El módulo “**Llamada AI Agent**” permite integrar la inteligencia de un Agente de IA directamente en su flujo de integración. Con él, puede procesar datos, tomar decisiones lógicas o generar contenidos de forma automática entre las etapas de su integración.

{% hint style="info" %}
Antes de configurar este módulo, debe tener un [Agente de IA](/espanol/skyone-studio/inteligencia-artificial/agentes.md) ya creado y configurado en la plataforma.
{% endhint %}

### Agregar el módulo "Llamada AI Agent”

El módulo “**Llamada AI Agent**” aparece en la opción Herramientas de la edición de un flujo. Después de hacer clic para agregarlo, se mostrará el modal de configuración inicial.

<figure><img src="https://3969362974-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZB1uWLMGztphXAzIZJ1%2Fuploads%2FGB3u2iLXm2Lm2ZgxRsrO%2Fmod-llamada-ai-agent-espanol.gif?alt=media&amp;token=06bb07e8-2322-4864-bf37-d034c98f3bf5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
[Obtenga más información sobre el Encabezado del Módulo](/espanol/skyone-studio/integraciones/encabezado-de-los-modulos.md).
{% endhint %}

1. Complete o elija los siguientes elementos para usar el módulo:

* **ID del Agente:** Seleccione de la lista el Agente de IA que desea utilizar para esta tarea específica.
* **Clave de contexto (opcional):** Defina una variable de contexto o SMOP.
* **Prompt:** describa detalladamente lo que el Agente debe hacer con los datos recibidos en esta etapa. También es posible solicitar la generación de imágenes y gráficos, que siempre se devolverán en formato Base64 y podrán utilizarse fuera de Studio.
* **Adjuntos (opcional):** inserte el contenido del archivo (PDF o imagen) codificado en formato Base64, previamente registrado como variable. Es posible adjuntar hasta 5 elementos.ivo (PDF o imagen) codificado en formato Base64 previamente registrado como variable.&#x20;

2. Haga clic en “**Siguiente**”. Será redirigido a la pantalla de prueba.
3. Haga clic en “**Probar**” para verificar el módulo.
4. Para finalizar, simplemente haga clic en “**Guardar**”.

{% hint style="info" %}
Lea también: [Variables](/espanol/skyone-studio/integraciones/flujos/gestion-de-los-flujos/flow-canva-configuracion-y-edicion-del-flujo/configuracion-del-flujo.md#variables)
{% endhint %}


---

# 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/integraciones/flujos/modulos-de-herramientas/modulo-llamada-ai-agent.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.
