> For the complete documentation index, see [llms.txt](https://help.capriai.us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.capriai.us/integrating-with-crm-and-webhook-information/triggers/automated-follow-up-for-stale-leads.md).

# Automated Follow-Up For Stale Leads

{% embed url="<https://www.loom.com/share/047493a0ab6a41e2a158e0c1c36864d8?sid=5671e1a4-2b2b-4f02-9ae9-678d7f7cccf7>" %}

In your agent, navigate to the "Triggers" tab, and create a new trigger. In the details page, you will notice a toggle labeled "Enable Followup"

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

## Follow-Up Details

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

* **Duration:** This is how long without a response the bot should wait before generating a follow-up message to try and re-engage the lead
* **Maximum Attempts:** The max amount of ***consecutive*** outreach messages the bot should send. *Both this and the duration above are reset each time the lead sends a message to your bot.*
* **Prompt**: The prompt to use when generating a follow-up message. You can find examples [here](/prompt-design/prompt-examples.md)
* **Tag Conditions:** We will evaluate these conditions before actually sending a follow-up message to the lead. If the conditions are met, we will not send any outreach message.
