# Importing contact lists (CSV, Excel)

1. To import contacts, a file with a .csv extension (e.g., in Excel) must be created. This file should contain at least one column with the header and phone numbers (in the format +48xxxxxxxxxxxxx, 0xxxxxxxxxxx, xxxxxxxxxxxxxxx):

<figure><img src="https://lh7-qw.googleusercontent.com/docsz/AD_4nXehzi0ciQqnpMK3kwbOTlL4nMsmI3hERGRqpSmdkdlc7pYMc4vYy5xjyg_URF2GoKZUSQL8e1kAL6WKe5RTEgJ26YHqBclWaxioPzbHNmTlPO_jdcs81w9SEZDxiWoUojlcbLc9_3YqCrJa9DKasAsCkJl0?key=29430_rjC6xOdADq2WVGHA" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-qw.googleusercontent.com/docsz/AD_4nXeKYa3Ikgl5yrPvC8stTNDOQQZVqQH2IfWOO-pvIp0or1GY8_ejZnoFkR0T8x-Okgc_hgIeEL8IQ2KGV7G00oIJYowTuPN000NOexickr7s1HMv_3mgZpQXH952JRK5tE59Y4VavmjXrCnsTIl1QSp8yTgg?key=29430_rjC6xOdADq2WVGHA" alt=""><figcaption></figcaption></figure>

2. Once the file has been created, go to **Contacts** -> **Import** and click the box below selecting the file you created, or drag it to the indicated location:

<figure><img src="https://1762163817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDIGjHYIXYoHyJoOeeUgD%2Fuploads%2FX0CjYDPzRPdxSQSQK1GE%2Fimage.png?alt=media&#x26;token=38344722-3798-497c-93aa-7e3b743f0dd1" alt=""><figcaption></figcaption></figure>

3. Once the file is loaded correctly, you need to pair the columns from the loaded file to the system fields. It is required to pair at least a cell phone and/or Email address. If the column with the phone number is named "cell" or "number" - the linkage will occur automatically.

<figure><img src="https://1762163817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDIGjHYIXYoHyJoOeeUgD%2Fuploads%2FeuuyeTrtH9hBy6NCTTtJ%2Fimage.png?alt=media&#x26;token=59a6f390-4773-47a1-8be6-e29e2f587681" alt=""><figcaption></figcaption></figure>

4. Once the field linkage has been confirmed, the newly created contact group should be named or, alternatively, the imported contacts can be added to an existing group in the account.

<figure><img src="https://1762163817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDIGjHYIXYoHyJoOeeUgD%2Fuploads%2FQMywrYUD5bXJ6uCDM2LE%2Fimage.png?alt=media&#x26;token=b5d7b38b-84c9-4757-9984-d52eeb9e9d19" alt=""><figcaption></figcaption></figure>

5. If the option "**Do existing contacts update with data from file**?" is checked, all additional fields will be updated for the contact with data from the imported file.


---

# 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.messageflow.com/contacts/adding-contacts/importing-contact-lists-csv-excel.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.
