# Segments - Creating for numbers that do not have the country code

## In SprintHub, you can segment Leads based on incorrect formatting of WhatsApp and/or mobile phone numbers. This segmentation can be applied in various automations to correct or update the field data.

## To do this, follow the steps below:&#x20;

1. **Create the Segment:**

* Go to your Segment via “Find Services”. Or just type the name, and the feature appears.
* To create, click “+ New”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcG8HsGup2b95EgvZls_hPxFNOFoPZayD9l8KBgHu1MWV9VN6wghHH5BRppDDto1izgs9J7qHddiUGg77p1ZGiDj4dBf42nA28Mp06qYJmZW3t4bO-jnvtEUNHdrjuXivcrDANBk3RkUgjgAn-I_t-lslRw?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe6nuvs0aJ5o1VrhVgoNq1-2UD0-eghN71XQQ8Ye5MpRNdv6TPPbwqXOZlwc-ooe7YiWcGagGrjZSc9qWpeBST4rHsDAjRduv2IO9nC-lDuFf2-HJB3pdmQjObTu40dDKNQyX02j45nQ7JL2RFu9yeqH14?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

2. **Configure and Create:**

* **Information:**

* **Enter a Name:** Give a descriptive name to your segment

* **Enter an alias:** Shortening of your segment name.

* **Category:** Choose one of your preference. This is optional

* **Custom Audience:** If you want one created for your already integrated ad account, leave the option set to “YES”.

* **Filters:**

> Here it will indicate which Lead will be included according to the chosen filter(s).

* If you want to remove Leads that do not meet the Segment filter immediately, leave the option set to “YES”.
* Choose the filters of your preference.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdinqGBaUhny3M0WFlh7MTi49TmODMrC4Zrt_lB-OuobbemZgyuttmcNJCmBr9LdJdpuq7oGrpcz02egz8nKNJCs7Oli2X-41GASLu1yNz3WwCZP5XBsd5BKU3F4Zb8-Xhec-UxXvljWIQpcafkhUBDmocr?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

> *In this example, “The lead's field value” was used. And a code will be inserted for verification **^\\+?55***

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd5NKlsHCbWiYMZmV2Nz_kP2Hxx2DVh5IA2ZaXiZ1EuslNe9WARSb58UK-_Uo4j3u8Iq2wwItLMoqlt42CeBlsuyHSC4fcxL8AoL0NhrtGzKjH6i9VprDaNL3M3_CHxu-tG938RHzeB7ZlI-lvHLKG8DQbO?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcFEIitSBwGKhLlL0yEQrjlcq2VmduCrVWgAajuJTujXhe3KkBqkOCgEtGgmBNyjC-F5d_hwJxcDhrWWqWdsZ8iAa1ibq1KNJAFdDw9EdsRzlWuhVJrHn5IToDMLgrEJ5f0I-kTWaMU0xhaB-Sh43HhS8U?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:blue;">It is possible to perform the check on both fields simultaneously, using the expression</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**And**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(which includes both in the check) or the expression</mark> <mark style="color:blue;"></mark><mark style="color:blue;">**OR**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">(which allows the conditional choice between one or the other).</mark>*
{% endhint %}

3. **Save:**

After making the necessary changes. Save your segment.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe5KukIMzJ7tAkVfTjOf5Fdm3pAX-kXNniz0sVN5fvXcOG0CfgbX10nNaTD5YfQ1FaRzVO7uiLbWbr3RxWbmuq2YN4qDwJFgiApuCQhirGlsO4hs-C-f96C0QgKCk6iW1z_sXpthytu9dER_BHg2biIZ9gm?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

Leads that meet the filter will start participating in the segment immediately.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdB4RFzBGkEf7EtEqrIxJAkcxoqE3n4irU8kZsNu0zxgjAoIc_t3-uk23Kks8HEfQ3alp8htE7PBjQ6nKwlDWnabsjHuXKypL2oh2zVBqOiVrsF8KAW8gN2M6qGt8OgMa8pdDzJQYw7GIeUJAtlNf8RyqXk?key=qzOkZVMFLT5Oowpxd8_lmg" alt=""><figcaption></figcaption></figure>

*And that's it, you can now use your Segment in other system functions!*

{% content-ref url="/pages/8790cbfae5ee919211a93df3ca2cf01d964fa5e2" %}
[Contacts - Modify data](/en/topics/general/contacts/leads-common-questions/contacts-edits/contacts-modify-data.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/relate/segments/segments-creating-for-numbers-that-do-not-have-the-country-code.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.
