Sync Box files to Salesforce contacts

Document/FileCRMMarketing

What it does

When someone uploads a file to Box, this automation searches Salesforce for a matching contact by folder name. If found, it attaches the file to that contact record.

Who it's for

Sales teams who need Box files linked to Salesforce contacts without manual uploads.

Apps used

How teams use this

Link proposals to customer contacts

Upload a proposal PDF to a Box folder named after a customer. The file automatically attaches to that customer's Salesforce contact so the sales team sees it in one place.

Organize files by account instead

Adjust the search to match Box folder names to Salesforce account names instead of contact names. The attachment flow stays the same but files link to accounts.

Filter files by type before attaching

Add a condition to only attach files with specific extensions like PDF or Word documents. This requires a file type check before the upload step.

Notify the contact owner when attached

Include a notification to the contact owner after the file is attached to Salesforce. This requires adding an email or Slack notification step at the end.

How it works

  1. Detect a new file in Box. A new or updated file is uploaded to a Box folder, and Box sends the file details to start this automation.
  2. Search for the matching contact. Search Salesforce for a contact whose name matches the Box folder name. If no contact exists, the automation stops here.
  3. Download the file from Box. Retrieve the file contents from Box so the file can be attached to the matching Salesforce contact record.
  4. Check if the file already exists. Search Salesforce for a file with the same name to avoid creating duplicate attachments on the contact.
  5. Attach the file to the contact. Upload the Box file to Salesforce and link it to the matching contact record so the sales team sees it there.