> 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).

# 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/relate/automation-flows/conditions/automation-flow-has-a-valid-whatsapp.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
