> 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/english/skyone-studio/integrations/flows/tool-modules/ai-agent-call.md).

# AI Agent Call

### Definition

The "**AI Agent Call**" module allows you to integrate the intelligence of an AI Agent directly into your integration flow. With it, you can process data, make logical decisions, or generate content automatically between the stages of your integration.

{% hint style="info" %}
Before configuring this module, you must have an [AI Agent](/english/skyone-studio/artificial-intelligence/agents.md) already created and configured on the platform.
{% endhint %}

### Add "AI Agent Call" Module

The "**AI Agent Call**" module appears under the Tools option in the flow editor. After clicking to add it, the initial configuration modal will be displayed.

<figure><img src="/files/07tw7HW0Yrt362sMdmwT" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
[Learn more about the Module Header.](/english/skyone-studio/integrations/flows/module-header.md)
{% endhint %}

1. Fill in or choose the following items to use the module:

   * **Agent ID:** Select from the list the AI Agent you wish to use for this specific task.
   * **Context key (optional):** Define a context variable or SMOP.
   * **Prompt:** Describe in detail what the Agent should do with the data received at this stage.
   * A**ttachments (optional):** Insert the file content (PDF or image) encoded in Base64 format, previously registered as a variable. Read also: [Variables](/english/skyone-studio/integrations/flows/flow-management/flow-canva-configuring-and-editing-the-flow/flow-settings.md#variables).

2. Click "**Next**". You will be redirected to the test screen.

3. Click "**Test**" to verify the module.

4. To finish, simply click "**Save**".


---

# 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/english/skyone-studio/integrations/flows/tool-modules/ai-agent-call.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.
