Route files to archive or cold storage in Box

Developer ToolAPI IntegrationMarketingDocument/File

What it does

When a metadata change event occurs on a folder in Box, this automation checks which scenario applies. It either moves the folder to archive or downloads it to cold storage, then removes shared links from files inside.

Who it's for

Operations teams who manage file lifecycle and need to automatically route folders between archive and cold storage in Box.

Apps used

How teams use this

Archive folders by retention metadata

When metadata indicates scenario 1, Box automatically moves the folder to archive without manual intervention. The team no longer sorts folders by retention policy, and archived content stays organized.

Transfer inactive folders to cold storage

When metadata indicates scenario 2, Box downloads the folder from production, uploads it to cold storage, and removes all shared links. Access is restricted and storage costs decrease for inactive work.

Require approval before cold storage moves

Add a condition to check folder size or owner before scenario 2 runs, so only folders meeting criteria transfer to cold storage. This includes validation to prevent accidental transfers of active work.

Notify teams when folders are routed

Set up notifications to inform the team when a folder moves to archive or cold storage based on the scenario. Teams stay aware of where their files are stored and can plan access accordingly.

How it works

  1. Listen for metadata change on folder. A real-time webhook detects when metadata changes on a folder in the production environment, starting this automation.
  2. Retrieve metadata to determine scenario. Box retrieves the metadata from the folder to check which scenario applies: scenario 1 for archive or scenario 2 for cold storage transfer.
  3. Move folder to archive in Box. If scenario 1 is detected, Box moves the folder to the archive location in the production environment so it is no longer in active use.
  4. Download folder and upload to cold storage. If scenario 2 is detected, Box downloads the folder from production and uploads it to the cold storage environment, then removes all shared links from files inside.