Archive multiple files and send via email

Recipe ToolsMarketingDocument/FileUtilities

What it does

When a scheduled trigger runs every 5 minutes, this automation gathers files into a list and compresses them. Someone receives the compressed archive by email without manual steps.

Who it's for

Operations teams who need to bundle and distribute files on a regular schedule.

How teams use this

Archive logs on a schedule

Compress log files every 5 minutes and email them to a storage inbox. The team keeps a rolling archive without manual intervention or extra setup.

Distribute reports to finance

Gather daily reports, compress them, and send to the finance team inbox every 5 minutes. Only the schedule and recipient change while the compression flow stays the same.

Filter files by type before compression

Add a condition to only compress files matching a specific format or name pattern. This setup requires a filter step to narrow which files enter the list.

How it works

  1. Run on a 5-minute schedule. The automation starts every 5 minutes so files are collected and compressed at regular intervals.
  2. Build the files list. File connector creates a list to hold the files that will be compressed together in the next step.
  3. Add files to the list. Gather each file and add it to the list so all items are ready for compression in File.
  4. Compress files into one archive. Combine all files from the list into a single compressed file for easier distribution and storage.
  5. Send the compressed file by email. Email the archive to the intended recipient so they receive all files in one attachment.