Write to file
Description
The Write to File activity converts structured data (typically produced by a previous step in the workflow) into a downloadable file. This file can be generated in formats such as CSV, Excel, or JSON, based on the selected configuration.
This activity is particularly useful for exporting processed data, storing backups, archiving reports, or preparing files for external sharing or upload to cloud services.
You can customize the file name using dynamic patterns (e.g., including the current date), and choose the appropriate file type based on the intended use.
Use Case:
After generating a filtered sales report or aggregating metrics, this activity can be used to export the result into a CSV or Excel file. The generated file can then be emailed, uploaded to cloud storage, or downloaded by a user.
Input
Input Type | Format | Description |
---|---|---|
Data | Tabular | Structured data table from the previous activity step |
Output
Output Type | Format | Description |
---|---|---|
File | File | Downloadable file in the chosen format |
Configuration Fields
Field Name | Description | Required |
---|---|---|
File Name | Name of the file to be generated. You can include dynamic patterns such as Report_{yyyyMMdd}.csv or Sales_{ActivityName}.xlsx . | Yes |
File Type | Format of the output file. Choose from supported options like CSV , Excel (XLSX) , or JSON depending on how the file will be used. | Yes |
Sample Input
Not Applicable .
Sample Configuration
Field | Value |
---|---|
File Name | SalesReport_{yyyyMMdd} |
File Type | CSV |
Sample Output
File Name | Size | Download |
---|---|---|
SalesReport_20250711.csv | 306 KB | [Download Link] |
Report_Q2.xlsx | 412 KB | [Download Link] |