Generate Excel and upload to Box on schedule

Recipe ToolsMarketingData ParserUtilitiesDeveloper ToolDocument/File

What it does

When a scheduled trigger fires every 5 minutes, this automation composes a CSV file and converts it to Excel format. The Excel file is uploaded to Box, and the automation stops without retrying if any step fails.

Who it's for

Operations teams who need to generate and store Excel files automatically without manual uploads.

How teams use this

Export data to Excel automatically

Generate an Excel file every 5 minutes from composed data and store it in Box. The team always has the latest file ready to download without opening a spreadsheet application.

Archive reports for compliance

Run the same automation on a daily or weekly schedule instead of every 5 minutes to create timestamped Excel reports in Box for audit trails. Only the clock interval changes.

Add filtering before upload

Include a condition in the JavaScript step to filter rows based on a status or date so only relevant data is converted to Excel and uploaded. The file will only contain records that meet the criteria.

How it works

  1. Run every 5 minutes. The automation starts on a schedule, running every 5 minutes to generate and upload the latest file.
  2. Compose the CSV data. Csv Parser builds a CSV file with the data needed for this batch, preparing it for conversion to Excel format.
  3. Convert CSV to Excel. Js Eval executes JavaScript code to transform the CSV into an Excel file with the proper formatting and structure.
  4. Upload file to Box. Box receives the Excel file using the file contents so it is stored and accessible to the team for download.