> 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/general/crm/crm-automations/crm-automations-in-crm-with-the-condition-does-the-lead-have-an-email.md). Agents can also search and read this documentation through its [MCP server](https://docs.sprinthub.com/~gitbook/mcp).

# CRM - Automations in CRM with the condition "Does the lead have an email"

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F8HXl7BZ81CYbxB0jJWlq%2Fcomposicao-isometrica-com-chatbot-no-laptop-pessoas-sorrisos-felizes_1284-63053.png?alt=media&amp;token=4bd4f4a8-cb00-40cc-ab09-b4773686a7b9" alt=""><figcaption></figcaption></figure>

In a CRM, the ability to filter opportunities based on the presence of an email address is crucial for effective marketing and sales strategies.

Go to the **CRM**, and click on **Automations**;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FOIfwc72dGzjOrZPUFBiR%2Fimage.png?alt=media&amp;token=333e7681-ba21-4eb5-bfa5-4cc52e2bd6a2" alt=""><figcaption></figcaption></figure>

Define the **title** and the **condition**, which, in this case, will be '*The lead has an email*'.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FHGwdtyGMKXjCB4MQHvia%2Fimage.png?alt=media&amp;token=1e2400cd-8c75-4f45-be84-fcdfdddb1948" alt=""><figcaption></figcaption></figure>

Define the configuration; **Yes** or **No**.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzA2pZbRLqeeFOMR1srft%2Fimage.png?alt=media&amp;token=41ddf02e-97de-42a2-bd58-6268cc987500" alt=""><figcaption></figcaption></figure>

Configure the **condition** that must be met for the **automation to be triggered**.&#x20;

Determine what you want the CRM to do when the condition is met.

In the example, we will use '**Send an Email to the lead**'.  That way, whenever a lead associated with an opportunity has an email address available, they will automatically receive an email.

*But you can define other conditions, such as:*

'**Modify the Lead segments'**: You will be able to segment your lead the way you prefer, including the possibility of placing them in specific segments to receive targeted emails.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Foup7knZc3w9w6ShGKGdt%2Fimage.png?alt=media&amp;token=3ee3f468-d243-4048-80db-e7a85059eedf" alt=""><figcaption></figcaption></figure>

Select the **Email** that you want to send and click on **Save**;&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FVNl6vAdOYUORaE2lkTUL%2Fimage.png?alt=media&amp;token=3d83db76-f35d-45cc-b850-49cbc612336e" alt=""><figcaption></figcaption></figure>

After saving your automation, click on the '<mark style="color:green;">**Play**</mark>' icon to activate it.&#x20;

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FBkvnmdwtBwEGt1s84qhu%2Fimage.png?alt=media&amp;token=2b1044cf-a137-4511-99f5-029545909490" alt=""><figcaption></figcaption></figure>

*With the automation configured, leads from opportunities that have an email address will automatically receive the email you defined to be sent in the automation.*

<mark style="color:purple;">**See similar articles:**</mark>

{% content-ref url="/pages/80e6c8e4d3ddf5ed225a8e8dff4239bc17b5bde0" %}
[CRM - Automations](https://docs.sprinthub.com/en/topics/general/crm/crm-automations.md)
{% endcontent-ref %}

{% content-ref url="/pages/4a1c7e56fdf5b057a091070b52862d8b0cbe813f" %}
[CRM](https://docs.sprinthub.com/en/topics/general/crm.md)
{% endcontent-ref %}
