Archive Salesforce case files to Box

CRMMarketingDocument/File

What it does

When someone creates a case with attachments in Salesforce, this automation searches Box for a matching folder by case number. If no folder exists, it creates one and uploads each attachment there.

Who it's for

Customer support teams who need case files organized in Box without manual uploads.

Apps used

How teams use this

Organize case files by case number

Case attachments upload to Box in a folder named after the case number. Support teams find files fast without sorting through a flat file list.

Route files to a specific Box folder

Set a parent Box folder where case folders are created. All cases then organize under one location instead of spreading across Box.

Archive cases with their files together

When a case closes, this automation ensures all attachments are already in Box. The case and its files can then be archived as one unit.

How it works

  1. New case with attachments in Salesforce. A new case is created in Salesforce with one or more file attachments. This automation runs only when attachments are present.
  2. Search Box for a matching folder. Search Box for a folder with a name that matches the Salesforce case number so files go to the right place.
  3. Create a Box folder if needed. If no matching folder exists in Box, create a new one with the case number as the folder name.
  4. Download and upload each file. Download each case attachment from Salesforce and upload it to the Box folder so all files are stored together.