Sync Salesforce Opportunity attachments to Box

CRMMarketingSalesCollaborationDocument ManagementUtilities

What it does

When an Opportunity is created or updated in Salesforce with specific criteria, this automation fetches related attachments. Each file is downloaded from Salesforce, uploaded to Box with a shared link, the Opportunity is updated, and approval is requested.

Who it's for

Sales operations teams who need to sync Salesforce attachments to Box and track approvals without manual file transfers.

Apps used

How teams use this

Sync deal files to shared storage

When a Dreamforce Demo Opportunity is marked ready, attachments move to Box automatically with shared links created. The team accesses files from one place without downloading and re-uploading.

Filter Opportunities by stage before syncing

Add a condition to check the Opportunity stage before uploading files to Box so only deals in specific stages trigger the sync. This ensures only relevant attachments are moved to shared storage.

Archive files after approval

Retarget this flow to move approved files to an archive folder in Box instead of keeping them in the active deal folder. The sync and approval steps stay the same.

How it works

  1. Monitor Opportunity changes. When an Opportunity is created or updated in Salesforce with the name Dreamforce Demo - Sync File to Box and description Need to upload attachments to Box, 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.
  3. Download and upload each file to Box. For each attachment, download it from Salesforce and upload the file contents to Box, then create a shared link for access.
  4. Update Opportunity and request approval. Update the Opportunity record in Salesforce and request approval via a People Task so the team can review the sync.