Sync Salesforce opportunity files to Box

CRMMarketingSalesCollaborationDocument Management

What it does

When someone updates a Salesforce opportunity matching specific criteria, this automation retrieves all attachments and uploads them to Box. It generates shared links for each file and updates the opportunity record to mark the sync complete.

Who it's for

Sales teams who need to sync Salesforce opportunity attachments to Box for collaboration.

Apps used

How teams use this

Sync demo files to Box automatically

When a Salesforce opportunity is tagged with the demo name and version marker, all attachments move to Box and shared links are created. The team accesses files from one place without manual uploads.

Expand sync to other opportunity types

Adjust the opportunity name filter to match other deal types or campaigns so different teams can sync their files to Box. The same steps run for each new opportunity pattern.

Add folder organization by opportunity

Set the Box upload destination to filter files into a folder named after the opportunity so files are organized by deal. This requires adding a step to create or select the folder before upload.

How it works

  1. Monitor for matching opportunities. When an opportunity is created or updated in Salesforce with Dreamforce Demo - Sync File to Box in the name and [2] in the name, this automation starts.
  2. Retrieve related attachments. Get the list of all attachments linked to that opportunity in Salesforce so each file can be processed next.
  3. Download and upload each file. For each attachment, download it from Salesforce and upload the file contents to Box in the designated folder for storage.
  4. Generate shareable links. Create a shared link for each file in Box so team members can access it without logging into Box separately.
  5. Mark sync complete. Update the opportunity record in Salesforce to reflect that files have been synced to Box successfully.