# 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FNVkez51c1LbMbPsPdjTS%2F1.png?alt=media&#x26;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&#x26;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 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="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F33pFPePdvRqX2WuyOeRk%2F3.png?alt=media&#x26;token=c53cfd1f-fa48-4737-b187-874947a7483e" alt=""><figcaption><p><em>Service with Active Engagement.</em></p></figcaption></figure>
