CSV to Datastore¶
The CSV to Datastore worker receives a CSV file and converts it into a datastore.

Parameters¶
Input¶
| Field | Description |
|---|---|
| File | The CSV file to convert. Accepts Fixed File, Get Latest, Get List, or Upstream Data |
| Header Row | Index of the CSV header row. Accepts Fixed Number. Default is 1 |

Output¶
| Field | Description |
|---|---|
| Name | Name of the output datastore. Accepts Template Text or Upstream Data. Defaults to the source file name |
| Workspace | Workspace where the output datastore will be saved. Accepts Fixed Workspace |
| Date | Date of the output datastore. Accepts Fixed Date or Upstream Data. Default is Today |
| Tags | Tags for the output datastore. Accepts Fixed Tags or Upstream Data |
| Storage Mode | How the result is persisted. Options: Transient (current run only), Create (saved to platform) |

Result¶
Once the worker finishes successfully, it returns a result object containing the datastore. You can check the Output Types article to learn more about result object types.
- Datastore (datastore)
- ID (string)
- Name (string)
- Date (date)
- Tags (list of strings)
- Data (list of lists)