Archive old files weekly in File Storage

Recipe ToolsMarketing

What it does

Every Sunday at midnight, this automation searches File Storage for old files and deletes each one. It logs the purged files to a job report so someone knows what was removed.

Who it's for

Operations teams who need to clean up file storage on a regular schedule without manual work.

How teams use this

Remove files older than a threshold

Set the search to find files created before a specific date, then delete them automatically each week. The team gets a report of what was purged so nothing is lost by surprise.

Clean up a shared project folder

Filter the search to only files in a specific folder or with a certain tag, so only outdated project files are removed. The same weekly schedule applies but targets only the files that need it.

Send a summary to a manager

Add a step to send the job report to a manager or team lead each week so they stay informed of storage cleanup. The deletion process stays the same and only the notification changes.

How it works

  1. Run every Sunday at midnight. This automation runs on a weekly schedule every Sunday at 12:00 AM to start the housekeeping process.
  2. Search for old files. Search File Storage for files that match the criteria for deletion, such as files older than a set date threshold.
  3. Delete each file found. For each file in the search results, delete it from File Storage to free up space and reduce clutter.
  4. Log the purged files. Record which files were deleted to a job report so someone can review what was removed and when it happened.