Consolidate three CSV files into one compressed archive

Recipe ToolsMarketingData ParserUtilitiesDocument/FileSales Enablement

What it does

When the clock triggers every 5 minutes, this automation parses three CSV files and merges them into a single CSV. The combined file is compressed and uploaded to Google Drive so someone can download one archive instead of three separate files.

Who it's for

Data and analytics teams who need to consolidate multiple CSV exports into one compressed archive on a schedule.

How teams use this

Consolidate daily data exports

Three separate systems export CSV files every day. Combine them into one compressed file on Google Drive so the team has a single source of truth instead of three files to track.

Archive reports for compliance

Store compressed consolidated CSV files in Google Drive on a schedule so audit records are kept in one place. Change the upload folder to a compliance archive instead of a working folder.

Add a fourth CSV to the merge

Include a fourth CSV file in the parse and compose steps so all four data sources are consolidated into the single compressed file. Only the parse and compose steps need to add that file.

How it works

  1. Run every 5 minutes. This automation runs on a 5-minute schedule to keep the consolidated file current in Google Drive.
  2. Parse three CSV files. Read and parse each of the three CSV files with Csv Parser so the data can be processed and combined into a single structured format.
  3. Merge all three into one CSV. Combine the parsed data from all three files into a single CSV file with Csv Parser that contains all rows and columns in one document.
  4. Compress the combined file. Compress the single CSV file with File to reduce its size and make it faster to download and store in Google Drive.
  5. Upload compressed file to Google Drive. Upload the compressed file to Google Drive so someone can access it from anywhere without managing three separate files.