> 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/relate/automation-flows/conditions/automation-flow-has-a-valid-whatsapp.md). Agents can also search and read this documentation through its [MCP server](https://docs.sprinthub.com/~gitbook/mcp).

# Automation Flow - Has a valid WhatsApp?

You can set a condition in your flow based on validating the lead's WhatsApp number.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FAsjvhyOyOgEp36EzlPZx%2Fundraw_instant-analysis_idb3.png?alt=media&amp;token=98d1b624-8a9d-4101-80dd-f03f9fe5a5ca" alt=""><figcaption></figcaption></figure>

To do this, go to Automation Flows,

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Fgs08FxNMwe5SRMuZYMxY%2Ffl1.png?alt=media&amp;token=eed9b64d-e39c-4d94-9671-578ff3e40420" alt=""><figcaption></figcaption></figure>

And by clicking "Open Builder," add a block of **"Condition"** and select **"Does the lead have a phone number? - Yes, and it is a valid WhatsApp number."**

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F3VP9UQQrKtR3pdkD5288%2Ffl2.png?alt=media&amp;token=f420b3f7-4052-4edf-bd2c-845a4f1e614e" alt=""><figcaption></figcaption></figure>

From there, customize the flow according to your needs. \
For example, **if the lead has a valid WhatsApp number**, you can:

* Create an opportunity in a specific pipeline and stage
* Add the lead to a segment
* Start a chatbot&#x20;

If the lead does not have a valid WhatsApp number, you can create the action **"Send a notification to an employee."**

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FlmQnIJKtFNhbI3V5wGqA%2Ffl3.png?alt=media&amp;token=0049c34b-0636-4e0f-965b-778ee6be85ce" alt=""><figcaption></figcaption></figure>

In addition, your flow can be adjusted in various ways, allowing you to customize the actions according to the validity of the lead's WhatsApp number. Explore the available options to create the ideal automation for your process.
