Archive files from Google Drive on schedule

Recipe ToolsMarketingDocument/FileSales EnablementUtilities

What it does

When a scheduled trigger fires every 5 minutes, this automation downloads files from Google Drive. Multiple files are compressed into a single archive and uploaded back to Google Drive.

Who it's for

Operations teams who need to reduce file sizes in Google Drive without manual compression work.

How teams use this

Compress backup files automatically

Run compression every 5 minutes on backup files in Google Drive to keep storage organized. The compressed archive replaces the originals and frees up space for new backups.

Archive project files on a weekly schedule

Change the schedule from every 5 minutes to once per week so project files are compressed during off-hours. The compression logic stays the same and only the timing shifts.

Filter files by size before compression

Add a condition to only compress files larger than a specified size threshold. This prevents unnecessary processing of small files and focuses compression on the biggest storage users.

How it works

  1. Run every 5 minutes. This automation starts on a schedule every 5 minutes to process files that need compression.
  2. Download files from Google Drive. Retrieve file contents from Google Drive so they are ready for the File connector to process and compress.
  3. Compress multiple files into one. Combine multiple files into a single compressed archive using the File connector to reduce total storage.
  4. Upload compressed file to Google Drive. Save the compressed archive back to Google Drive so the team can access the optimized version anytime.