Workflows
Blocks
Actions
CSV

CSV Action Block

The CSV Action Block enables conversion between CSV and JSON formats within your workflows. Parse CSV text into structured JSON arrays or convert JSON data back to CSV strings with configurable delimiters and header options.

No authentication required. This block processes data locally without external API calls.

Supported Actions

CSV to JSON

Converts CSV text into a JSON array. Supports headers and configurable delimiters.

Configuration:

  • CSV Text: The raw CSV content to parse (supports {{variables}})
  • Has Headers: Whether the first row contains column names
  • Delimiter Type: Comma (,) or Tab (\t)

Example Input:

name,age,city
John,30,New York
Jane,25,London

Example Output:

[
  { "name": "John", "age": "30", "city": "New York" },
  { "name": "Jane", "age": "25", "city": "London" }
]

JSON to CSV

Converts a JSON array into CSV format. Automatically flattens nested objects.

Configuration:

  • JSON Array: The JSON array to convert (supports {{variables}})
  • Delimiter Type: Comma (,) or Tab (\t)

Example Input:

[
  { "name": "John", "address": { "street": "123 Main St", "city": "LA" } }
]

Example Output:

name,address.street,address.city
John,123 Main St,LA

Use Cases

  • Importing CSV data from file uploads into workflow variables
  • Exporting workflow results as CSV for spreadsheet tools
  • Transforming API responses between formats
  • Processing bulk data from CSV files
Indite Documentation v1.6.0
PrivacyTermsSupport