Help Centre › Building Processes
This article describes the RPA File functionality to write data to CSV file.
For a full list of available functions, please read FILE functions.
Description
The FILE Write data to CSV file function allows you to write data to CSV file.
Setting it up
To use the FILE Write data to CSV file function, follow these instructions:
{{popups:rpas/add:action=file-write-to-csv}}
Once on a process map:
- Navigate to the process where you would like to add the FILE Write data to CSV file function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the FILE Write data to CSV file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path for the CSV file |
| Variable | Yes | Text | - | Variable containing the data |
| Overwrite | No | Switch | Off | Overwrite if the file already exists |
| Delimiter | Yes | Select | Comma (,) | The CSV delimiter |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| File exists | The file already exists and overwrite is off |
Tips
- Creates a new CSV file from variable data