Category
- Working with Workflows
Using the Process File Block
The Process File block is used to read and process a file depending on the file type. If the file provided is a CSV, then the output of the Process File block is an array of values corresponding to each row in the CSV file.

- Enter a label and description for the block.
- Enter the App name or select the checkbox for Default to select the app from the dropdown list.
- Enter the Collection name or select the checkbox for Default to select the collection name from the dropdown list.
- Enter the file id to be processed or select the checkbox for Default to select the file from the dropdown list.
Note: “App” and “File” are mandatory fields.
Consider the following workflow that gets triggered on file upload.

- The file-id is received at the Entry block and is passed to the Process File block.
- The Process File block extracts the data within the file as an array of values corresponding to each row in the file uploaded.
