> 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

Using the AI agent to "wake up" the lead after a period of inactivity.

## Skill Configuration

To use the active engagement feature, it is necessary to enable this option on the agent. The time set in the settings of "**Inactive Engagements**" will be counted from the last message sent by the agent — that is, when it is 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 it should use a specific form of address, make some personalized reference, or recall relevant information. The part **Limit by Condition**, defines under which criterion this engagement should not happen, considering the support context and/or the lead's fields.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FNVkez51c1LbMbPsPdjTS%2F1.png?alt=media&amp;token=b8c95cb8-a873-467d-9059-39edf2c2162a" alt=""><figcaption><p><em>Agent Skills.</em></p></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FaMCLvXgTL1AVTePsYZLo%2F2.png?alt=media&amp;token=30cc48f7-4e05-4b10-a9ce-8b39f4ad535f" 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 the Skill

As shown in the example below, after 30 minutes of inactivity on the part of the lead, he received the two previously configured engagement messages.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F33pFPePdvRqX2WuyOeRk%2F3.png?alt=media&amp;token=c53cfd1f-fa48-4737-b187-874947a7483e" alt=""><figcaption><p><em>Support with Active Engagement.</em></p></figcaption></figure>
