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

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

# CSV_PARSE

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

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

**Categories:** Data Parsing/Conversion

## Syntax

```
CSV_PARSE(text)
```

## Examples

### Example 1

Input:

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

Formula:

```
CSV_PARSE(my_action.message)
```

Output:

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

## Sample actions

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