# A.I. Agents - Creating a Screening AI with Routing to Another AI

## Configuring the Run Automations skill

To transfer from one AI to another, it is necessary to enable the skill and configure a new [**Agent Automation**](/en/topics/artificial-intelligence/ai-agents/ai-agents-execute-automations.md).\
For this automation to work correctly, some elements are essential:

* **Agent Condition**: Clearly define the criteria based on lead fields or message content. For example: when the lead shows interest in a specific product or requests contact with a company department.
* **Agent Action**: The automation must include the action **"Start AI Agent"**. When this action is executed, the current AI will be terminated and the specialist agent will be started automatically.

Below, we present a minimal configuration required to perform the transfer between AIs:

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

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

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

## Testing automation

To verify if the automation is working correctly, you can check the lead's history. There, you will be able to see whether the actions were executed as expected or if any error occurred during the process.

<figure><img src="/files/3ff1d975a5733e3151e16a7bf2579f2c95db1004" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/034e96c2c6eb2cf645680d9323fe0f464afeacfd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/ai-agents-execute-automations/ai-agents-creating-a-screening-ai-with-routing-to-another-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
