Sync Salesforce account files to Box

CRMMarketingDocument/File

What it does

When someone creates a new account with attachments in Salesforce, this automation searches Box for a matching folder by account name. It creates the folder if needed and uploads all attachments there.

Who it's for

Sales operations teams who need account files organized in Box without uploading them manually.

Apps used

How teams use this

Organize account files in Box automatically

When a new account is created in Salesforce with attachments, files move to Box in a folder named after the account. The team finds everything in one place without manual work.

Route files to a specific Box folder

Set a parent Box folder where all account folders are created. This keeps the Box workspace structured and makes it easier for teams to browse account records.

Sync files for customer success handoff

When a deal closes and an account moves to customer success in Salesforce, attachments sync to Box so the support team has contracts and setup docs ready. Only the team using the files changes.

Include only certain file types

Add a condition to filter attachments so only PDFs or contracts upload to Box, leaving internal notes in Salesforce. This keeps sensitive files out of shared folders.

How it works

  1. Detect a new Salesforce account. A new account is created in Salesforce with one or more file attachments. The automation only runs if attachments are present on the account record.
  2. Search for a matching Box folder. Search Box for a folder with the same name as the Salesforce account. If a folder already exists, the automation skips folder creation.
  3. Create a Box folder if needed. When no matching folder is found in Box, create a new folder with the Salesforce account name so files have a home.
  4. Download each account attachment. For each file attached to the Salesforce account, download the file contents so it can be moved to Box.
  5. Upload files to the Box folder. Upload each downloaded attachment to the Box folder. All account files end up in one organized place.