# Write to CSV

## Settings&#x20;

![](/files/-MWeQ2AmDXSswMoofQBZ)

| Field                  | Description                                                    |
| ---------------------- | -------------------------------------------------------------- |
| Title                  | Object title                                                   |
| Object Identifier Name | Singular name to reference the Write CSV object (variable)     |
| Select Main Object     | Option to select the defined object on the "**New CSV"** call. |
| File                   | The file path of the CSV file.                                 |
| Overwrite content      | Overwrites an existing content                                 |
| Content                | Enter content                                                  |

## Example

To write on CSV file you must have a pre-existing file and follow the next steps:

1 - Select the object "**New CSV**" on the "**CSV**" menu and drag it into your working area.&#x20;

* First you must define a singular object name in the field "**Object Identifier Name**" and create a new file or select a pre-existing one.&#x20;

2 - Then select the object "**Write CSV**", select the main object that was defined on the file creation and, finally, select the CSV file.

* If the "**Overwrite Content**" option is selected, the entered text wil overwrite the existing one.


---

# 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.roboteasy.tech/studio-en/studio/objetos/csv/escrever-csv.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.
