> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/ai-agents-active-engagement.md).

# AI Agents - Active Engagement

## Skill Configuration

To use the active engagement feature, it is necessary to enable this option on the agent. The time set in the "**Inactivity Engagements**" settings will be counted from the last message sent by the agent — that is, when they are waiting for a response from the lead.

In the settings, in the instructions field, you must specify how the agent should engage with the lead — for example, whether to use a specific form of address, make some personalized reference, or remind relevant information. The **Limit by Condition**, part defines under which criterion this engagement should not occur, considering the context of the service and/or the lead's fields.

<figure><img src="/files/60d722dedca8f98b3286fcd5c7f95badc4095e12" alt=""><figcaption><p><em>Agent Skills.</em></p></figcaption></figure>

<figure><img src="/files/940d33504651822ea35687bf7f5ad4e1b877f6c6" alt=""><figcaption><p><em>Active Engagement Settings.</em></p></figcaption></figure>

{% hint style="info" %}
The Active Engagement skill will only work if the lead sends at least one message to the agent.
{% endhint %}

## Testing Skill

As the following example shows, after 30 minutes of inactivity by the lead, they received the two previously configured engagement messages.

<figure><img src="/files/5bef81573b0da543be28b4a65f6e1d7539b60f5b" alt=""><figcaption><p><em>Service with Active Engagement.</em></p></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://docs.sprinthub.com/en/topics/artificial-intelligence/ai-agents/ai-agents-active-engagement.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.
