# How to Set Up a File

{% hint style="info" %}
**Requirement: Your contact file can be in XLSX, CSV, or TXT and should have a maximum of 15 MB.**
{% endhint %}

## **How to Set Up an XLSX File**

To set up the file on Excel or Google Spreadsheet, you should follow a few guidelines:

* The **first row** consists of a **header;**
* The **first column** must have the title **destination** and the **contact numbers;**
* The **remaining columns** are filled by **placeholders or variables** that can be used in the body of the message or HSM variables;
* **One of the columns** may be used as **Correlation ID** (with the title **correlationid**) for identifying customers by reports;

Example of an .xlsx file: [**XLSX File**](https://messaging2.movile.com/assets/files/valid.xlsx)**​**

Example:

| destination   | name   | info | correlationid |
| ------------- | ------ | ---- | ------------- |
| 5511987654321 | André  | Wavy | campaign\_X   |
| 5511912345678 | Mozart | Wavy | campaign\_Y   |

{% hint style="info" %}
Tip: to prevent conflicts or issues, we suggest clearing the table formatting. In order to clear it on Excel, select the entire table and click **Clear** / **Clear all formats**. Then select the first column (destination), right click and select **Format Cells**, select **Numbers** and set **0 decimal places**.
{% endhint %}

![Excel: Clear / Clear all formats](/files/-MlG_O7bibM5YjgS4hXH)

![Excel: First column / Format Cells / Numbers \[decimal places = 0](/files/-MlG_O7cniJJ5FsPEAOC)

![Google Spreadsheet: Format / Clear formatting](/files/-MlG_O7dlvdUMbMxA1An)

## **How to Set Up a CSV File**

To set up the file on Excel or Google Spreadsheet, follow the same procedure above for the XLSX file and save in CSV.

Example of a .csv file: [**CSV File**](https://messaging2.movile.com/assets/files/valid.csv)**​**

![Excel: Save as / File Format CSV](/files/-MlG_O7e8qCOWxXmPUJ9)

![Google Spreadsheet: Download as / Comma-separated values](/files/-MlG_O7fYZXbBOmwogGF)

## **How to Set Up a TXT File**

To set up a TXT file, just fill out the first line of the file with the following information: destination: reserved for all phone numbers separated by ";" the other "columns" of the file. Example of a .txt file: [**TXT File**](https://messaging2.movile.com/assets/files/valid.txt)


---

# 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-latam.messaging.sinch.com/send-a-message/how-to-set-up-a-file.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.
