Sync Salesforce attachments to Box by document type

CRMMarketingSalesUtilitiesCollaborationDocument Management

What it does

When someone submits or updates a document in Salesforce, this automation downloads the attachment and uploads it to Box. The file lands in the correct folder based on document type, so the team finds it organized automatically.

Who it's for

Finance teams who need Salesforce documents filed in Box without manual uploads.

How teams use this

File invoices by document type

When an invoice is uploaded to Salesforce, this automation downloads it and files it in the Box invoices folder based on the document type lookup. The team finds all invoices organized by type without manual filing.

Route contracts to legal folder

Extend this automation to route contract documents to a legal folder in Box by adding a contract document type to the lookup table. Contracts are now filed separately from other Salesforce documents.

Sync customer documents to shared workspace

Retarget this automation to upload customer-facing documents to a shared Box workspace instead of internal folders. Set the folder mapping to point to the customer success workspace so documents are accessible to that team.

How it works

  1. New or updated document in Salesforce. A document is submitted or updated in Salesforce, which starts this automation to move it to Box.
  2. Get document details and attachment. Retrieve the document record and download its attachment from Salesforce so it can be sent to Box.
  3. Map document type to Box folder. Search the lookup table to find which Box folder matches this document type, so the file goes to the right place.
  4. Create folder if needed and upload file. Check if the folder exists in Box. If not, create it. Then upload the attachment to that folder and generate a shared link.