Overview

The Table to File Block converts tabular data into a CSV (Comma-Separated Values) file. This block is particularly useful when you need to export data from your flow in a widely compatible format for further analysis or sharing.

Table to File Block ScreenshotTable to File Block Screenshot

Inputs

table
table
required

The table to convert. The input will be coerced to a table format if needed.

Outputs

file
file

The converted file output in CSV format.

duration
number

The time taken to process the conversion in milliseconds.

Editor Settings

formats
string[]
default:["csv"]

The output file formats to generate. Currently only supports CSV format.

Example: Exporting a Table to CSV

  1. Add a Table to File block to your flow.
  2. Connect your input table to the table input of the Table to File block.
  3. Run your flow. The block will output a CSV file containing your table data.
Table to File Example

Error Handling

The block will error if:

  • No Docme endpoint is configured in settings
  • The input table is invalid or cannot be coerced to a table format

Ensure that the input table data is properly structured and that your environment is correctly configured with a Docme endpoint.

FAQ

See Also