# CRM Automations with the condition "The lead has a phone number"

<figure><img src="/files/0d531b126f357d488bc6be39ca6892bdf597ac1e" alt=""><figcaption></figcaption></figure>

Access the **CRM**, and click on **Automations**;

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

Set the **title** and the **condition**, which, in this case, will be '*Does the lead have a phone number?*'.

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

Set the **settings**;

<figure><img src="/files/341c4dda64749393a34f4ca24eba4047dfd407d8" 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 WhatsApp to the lead**'. This will cause leads who have WhatsApp to receive a personalized message of your choice on WhatsApp.

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

**Update lead data:** This will ensure that whenever a lead has a phone number, the automation will automatically update their data.

Select the **account** that will send the messages, and enter the **message** that will be sent and click **Save**;

<figure><img src="/files/3c9527228fb03bf3f5ea226e878381b1ac8f721c" 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="/files/5960971c6b4b49129cf7096f8684af063f90cb1f" alt=""><figcaption></figcaption></figure>

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

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

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


---

# Agent Instructions: 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:

```
GET https://docs.sprinthub.com/en/topics/general/crm/crm-automations/crm-automations-in-crm-with-the-condition-the-lead-has-a-phone-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
