Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Convert → Convert a CSV to Array
AI-generatedOverview
This node operation converts a CSV string into an array format. It is useful for scenarios where CSV data needs to be parsed and manipulated as an array within workflows, such as data transformation, integration, or analysis tasks. For example, converting CSV data from an external source into an array for further processing or filtering.
Use Case Examples
- Converting CSV data received from an API into an array for easier manipulation.
- Parsing CSV content from a file to extract rows and columns as an array for data processing.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Defines variables used in the code editor for the selected function, allowing dynamic value assignment. |
| CSV | The CSV string input that will be converted to an array. |
| Options | Additional options for CSV conversion, including delimiter and whether to omit the first row. |
Output
JSON
array- The resulting array parsed from the CSV input.
Dependencies
- An API key credential for the CodeKit API is required to perform the conversion.
Troubleshooting
- Ensure the CSV input is correctly formatted; malformed CSV can cause parsing errors.
- If the delimiter is unknown, leaving it empty allows auto-detection, but this may not always be accurate.
- If the first row contains headers and should be omitted, enable the 'Trim CSV' option to avoid including headers in the output array.