> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.csv.AddRows

- Component: `appmixer.utils.csv.AddRows`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.utils.csv 2.0.9](https://connectors.appmixer.com/connector/appmixer.utils.csv/2.0.9.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.csv/2.0.9/component/appmixer.utils.csv.AddRows>

Append multiple rows to the end of a CSV file.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| File ID (`fileId`) | filepicker | The ID of the CSV file. |
| Delimiter (`delimiter`) | text | A character to use as a delimiter between columns. |
| Rows (`rows`) | textarea | The rows to append (an array of row objects i.e [{"column1": "value1", "column2": "value2"}, { ...row2 }, ...] or an array of strings i.e [["row1_value1", "row1_value2"], ["row2_value1", "row2_value2"]] ). |
| Parse numbers (`parseNumbers`) | toggle | Whether to parse numerical values in the CSV. |
| Parse booleans (`parseBooleans`) | toggle | Whether to parse boolean values in the CSV. |

## Output ports

### Port `fileId`

| Field | Type | Description |
| --- | --- | --- |
| File ID (`fileId`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.csv.AddRows",
  "author": "Harsha Surisetty <harsha@client.io>",
  "description": "Append multiple rows to the end of a CSV file.",
  "version": "1.0.0",
  "dependencies": {
    "module": "1.0.1"
  },
  "private": false,
  "quota": {
    "manager": "appmixer:utils:csv",
    "resources": "loadFiles",
    "maxWait": 120000,
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "properties": {
          "fileId": {
            "type": "string"
          },
          "delimiter": {
            "type": "string"
          },
          "rows": {
            "oneOf": [
              {
                "type": "array"
              },
              {
                "type": "string"
              }
            ]
          },
          "withHeaders": {
            "type": "boolean"
          },
          "parseNumbers": {
            "type": "boolean"
          },
          "parseBooleans": {
            "type": "boolean"
          }
        },
        "required": [
          "fileId",
          "delimiter",
          "rows"
        ]
      },
      "inspector": {
        "inputs": {
          "fileId": {
            "type": "filepicker",
            "label": "File ID",
            "index": 1,
            "tooltip": "The ID of the CSV file."
          },
          "delimiter": {
            "type": "text",
            "label": "Delimiter",
            "index": 2,
            "defaultValue": ",",
            "tooltip": "A character to use as a delimiter between columns."
          },
          "rows": {
            "type": "textarea",
            "label": "Rows",
            "index": 4,
            "defaultValue": "[]",
            "tooltip": "The rows to append (an array of row objects i.e [{\"column1\": \"value1\", \"column2\": \"value2\"}, { ...row2 }, ...] or an array of strings i.e [[\"row1_value1\", \"row1_value2\"], [\"row2_value1\", \"row2_value2\"]] )."
          },
          "parseNumbers": {
            "type": "toggle",
            "label": "Parse numbers",
            "index": 5,
            "defaultValue": true,
            "tooltip": "Whether to parse numerical values in the CSV."
          },
          "parseBooleans": {
            "type": "toggle",
            "label": "Parse booleans",
            "index": 6,
            "defaultValue": true,
            "tooltip": "Whether to parse boolean values in the CSV."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "fileId",
      "options": [
        {
          "label": "File ID",
          "value": "fileId",
          "schema": {
            "type": "string",
            "example": "a1686006-35c8-4ffc-b23e-d687858cd418"
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
