Create Box folder from upload or download event

Document/File

What it does

When someone uploads or downloads a file in a Box folder, this automation searches Box for a matching folder. If none exists, it creates a new folder and moves the file into it.

Who it's for

Operations teams who need to organize Box files automatically when someone uploads or downloads them.

Apps used

How teams use this

Organize uploads by project folder

When someone uploads a file to a shared Box folder, the automation creates a project folder and moves the file there automatically. The team stays organized without manual sorting.

Sort downloads into archive folders

Extend this automation to track downloads and create archive folders for each file type. Add a condition to check the file extension so PDFs, images, and documents go to separate folders.

Route files to team-specific folders

Retarget this automation to a different Box workspace so each team has its own folder structure. The same logic applies and only the source folder changes.

How it works

  1. Monitor folder for file activity. Watch for new upload or download events in a Box folder in real time so the automation responds immediately when someone adds or retrieves a file.
  2. Search for matching folders in Box. Search Box for folders that match the file name or criteria so the automation knows whether a folder already exists for organizing that file.
  3. Create folder when search finds nothing. Create a new folder in Box when the search returns no results, then rename or move the uploaded file into that newly created folder.
  4. Monitor for errors and stop. Monitor the folder creation and file move steps in Box for errors. If an error occurs, the automation stops and logs the issue for investigation.