Skip to content

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 TypeFormatDescription
DataTabularStructured data table from the previous activity step

Output

Output TypeFormatDescription
FileFileDownloadable file in the chosen format

Configuration Fields

Field NameDescriptionRequired
File NameName of the file to be generated. You can include dynamic patterns such as Report_{yyyyMMdd}.csv or Sales_{ActivityName}.xlsx.Yes
File TypeFormat 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

FieldValue
File NameSalesReport_{yyyyMMdd}
File TypeCSV

Sample Output

File NameSizeDownload
SalesReport_20250711.csv306 KB[Download Link]
Report_Q2.xlsx412 KB[Download Link]