> 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/contacts/leads-common-questions/contacts-edits/contacts-modify-data-how-to-change-information-via-automation/contacts-modify-data-how-to-include-the-country-code-via-automation.md).

# Contacts - Modify Data: How to include the country code via Automation

In situations where the numbers registered in the fields **WhatsApp** and/or **Mobile Phone** are missing the code **Brazil DDI (55)**, it is possible to use the action **Modify Data** to update this information automatically.

This update can be carried out through a **Automation Flow**, **SAC Automation** or **CRM Automation** and **Webhooks**, allowing contact standardization in a practical and automated way.

#### How to locate contacts without DDI

To search for and insert into a **segment** the contacts that do not have DDI, check the article below:

{% content-ref url="/pages/040a701299c2652087590009e119d58d645bb15f" %}
[Segments - Creating for numbers that do not have the country code](/en/topics/link/segments/segments-creating-for-numbers-that-do-not-have-the-country-code.md)
{% endcontent-ref %}

***

#### Example using the WhatsApp field

1. Access the desired automation;
2. Add the action **Update Contact Data**;
3. Select the field **WhatsApp**;
4. Click the button to insert the **WhatsApp Token**, as indicated in the image;
5. Before the token, add the code **55**.

Configuration example:

`55{contactfield=whatsapp}`

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

In this way, the numbers will be updated automatically with Brazil's DDI, ensuring greater compatibility in integrations and message sending.

> **Important:** Make sure the numbers are already filled in correctly with **area code + number**, just without the DDI.

{% hint style="info" %}

### **Note:**

This same action can also be performed using the **Mobile Phone**, following exactly the same process.

Configuration example:

`55{contactfield=phone}`
{% endhint %}


---

# 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/general/contacts/leads-common-questions/contacts-edits/contacts-modify-data-how-to-change-information-via-automation/contacts-modify-data-how-to-include-the-country-code-via-automation.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.
