Sync Salesforce opportunity files to Box

CRMMarketingSalesCollaborationDocument Management

What it does

When someone creates or updates an Opportunity in Salesforce with Dreamforce Demo in the name, this automation downloads all related attachments. It uploads them to Box, creates a shared link, and updates the Opportunity record so the team knows the files are ready.

Who it's for

Sales teams who need Salesforce attachments synced to Box without manual file transfers.

Apps used

How teams use this

Sync demo files to shared storage

When a Dreamforce Demo Opportunity is created, all attachments move to Box automatically with a shared link added to the record. The team accesses files from one place without manual uploads.

Route files by opportunity stage

Extend this automation to check the Opportunity stage and route files to different Box folders based on whether it is a prospect or closed deal. Only files from qualified opportunities sync to the shared folder.

Notify the team when files arrive

Add a Slack notification after files upload to Box so the sales team knows attachments are ready without checking Salesforce. The shared link posts in the channel for quick access.

How it works

  1. Monitor Opportunity changes. When an Opportunity is created or updated in Salesforce with Dreamforce Demo in the name and a specific identifier, this automation starts.
  2. Fetch related attachments. Get the list of all attachments linked to that Opportunity in Salesforce so each file can be processed.
  3. Download each attachment. For each attachment, download the file contents from Salesforce so it is ready to move to Box.
  4. Upload files and create shared link. Upload each attachment to Box using the file contents, then create a shared link in Box for team access.
  5. Update the Opportunity record. Update the Opportunity in Salesforce so the team knows the files have been synced to Box.