---
title: CSV_PARSE_TO_OBJECTS
url: https://www.tines.com/docs/formulas/functions/csv-parse-to-objects/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# CSV_PARSE_TO_OBJECTS

*[View on tines.com](https://www.tines.com/docs/formulas/functions/csv-parse-to-objects/)*

Parses CSV-formatted text with auto-detection of the delimiter character and parses output into an array of objects.

**Categories:** Data Parsing/Conversion

## Syntax

```
CSV_PARSE_TO_OBJECTS(text)
```

## Examples

### Example 1

Input:

```json
{
  "my_action": {
    "message": "first, second, third\n1, 2, 3"
  }
}
```

Formula:

```
CSV_PARSE_TO_OBJECTS(my_action.message)
```

Output:

```json
[
  {
    "first": "1",
    "second": "2",
    "third": "3"
  }
]
```

## Sample actions

```json
{
  "standardLibVersion": "13",
  "actionRuntimeVersion": "2",
  "agents": [
    {
      "disabled": false,
      "name": "My Action",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "message": "first, second, third\n1, 2, 3"
        }
      },
      "position": {
        "x": 3120,
        "y": 2055
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    },
    {
      "disabled": false,
      "name": "CSV_PARSE_TO_OBJECTS",
      "description": "",
      "options": {
        "mode": "message_only",
        "loop": false,
        "payload": {
          "csv_parse_to_objects": "=CSV_PARSE_TO_OBJECTS(my_action.message)"
        }
      },
      "position": {
        "x": 3120,
        "y": 2145
      },
      "type": "eventTransformation",
      "timeSavedUnit": "minutes",
      "timeSavedValue": 0,
      "monitorAllEvents": false,
      "monitorFailures": false,
      "monitorNoEventsEmitted": null,
      "form": null
    }
  ],
  "links": [
    {
      "sourceIdentifier": 0,
      "receiverIdentifier": 1
    }
  ],
  "diagramNotes": []
}
```
