> For the complete documentation index, see [llms.txt](https://academy.gopersonal.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.gopersonal.ai/guia-de-usuario/journeys/editor-workflow/acciones/invocar-api.md).

# Invocar API

El componente **Invocar API** permite crear experiencias de cliente cohesionadas y receptivas al conectar de manera fluida con servicios externos. Esta funcionalidad posibilita la integración con sistemas y bases de datos externos en tiempo real, facilitando la actualización y sincronización de información durante el recorrido del cliente.

Por ejemplo, se puede activar una llamada a una API en medio del recorrido del cliente para obtener datos de productos en vivo, actualizar perfiles de usuario o sincronizar con bases de datos externas. Esta capacidad garantiza que la información se maneje de manera eficiente y actualizada, mejorando así la precisión y relevancia de las interacciones con los clientes.

<figure><img src="/files/HWE3l0gGeFCWpm8xjZBQ" alt="" width="313"><figcaption></figcaption></figure>

## Configurar API

En el componente **Invocar API**, es posible especificar la URL, el método de solicitud, los encabezados y el contenido del cuerpo según sea necesario. Este nivel de personalización garantiza que la plataforma se integre de manera fluida con diversos sistemas externos, adaptándose fácilmente a los requisitos de diferentes APIs.

Además, se puede definir en qué contexto de variable almacenar el resultado del servicio. Esta variable se puede acceder posteriormente en los componentes de los canales, permitiendo utilizar los datos obtenidos para personalizar aún más la experiencia del usuario.

<figure><img src="/files/wGr1slAZh7oCsUUE5Fdw" alt="" width="375"><figcaption></figcaption></figure>


---

# 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://academy.gopersonal.ai/guia-de-usuario/journeys/editor-workflow/acciones/invocar-api.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.
