Box + Salesforce

Connect Box and Salesforce to Unify Your Content and CRM Workflows

Automatically sync files, proposals, contracts, and account documents between Box and Salesforce so your teams always have the right content when they need it.

Why integrate Box and Salesforce?

Box and Salesforce are two of the most widely adopted platforms in the enterprise, yet sales and operations teams often waste hours manually uploading files, hunting for contracts, or keeping account folders in sync. By integrating Box with Salesforce through tray.ai, you can build bidirectional data flows between your content management and CRM systems. The result is a faster sales cycle, better document governance, and one source of truth for every customer relationship.

Automate & integrate Box & Salesforce

Use case

Auto-Create Box Folders for New Salesforce Opportunities

When a new opportunity is created in Salesforce, tray.ai automatically provisions a structured Box folder hierarchy — including subfolders for proposals, contracts, and supporting materials — and writes the folder URL back to the Salesforce opportunity record. Every deal gets a dedicated, organized content workspace from day one. Reps no longer waste time creating folders manually or guessing where to store files.

Use case

Attach Box Documents to Salesforce Records Automatically

When a file is uploaded or updated in a Box folder tied to a Salesforce account or opportunity, tray.ai automatically creates or updates a Salesforce attachment or ContentDocument link on the corresponding record. CRM records stay current with the latest contracts, proposals, and meeting notes without any manual effort. Anyone reviewing an account in Salesforce sees the most current documents without having to open Box separately.

Use case

Trigger Salesforce Stage Progression When Contracts Are Signed in Box

When a contract in Box is marked as executed or moved to a 'Signed' folder, tray.ai can automatically advance the corresponding Salesforce opportunity to Closed Won, update fields like contract start date, and notify the account owner via Slack or email. Finance and revenue operations get real-time visibility into closed deals without chasing reps for updates.

Use case

Sync Salesforce Account Data to Box Folder Metadata

tray.ai can push Salesforce account fields — such as account owner, contract value, renewal date, and industry — into Box folder metadata, making it easy to search, filter, and govern content using CRM attributes. When account details change in Salesforce, Box metadata updates automatically. This is especially useful for compliance teams that need to tag and retrieve documents based on business context.

Use case

Distribute Proposal Templates from Box When Opportunities Reach a Target Stage

When a Salesforce opportunity advances to a stage like 'Proposal/Price Quote,' tray.ai can automatically copy the right proposal or pricing template from a master Box folder into the deal-specific folder and notify the assigned rep. Every rep starts from the correct, approved template rather than hunting through shared drives. Version control stays centralized in Box while the workflow runs entirely off Salesforce activity.

Use case

Archive Closed Lost Opportunity Files in Box

When a Salesforce opportunity is marked Closed Lost, tray.ai can automatically move the associated Box folder to an archive location, apply retention metadata, and log the outcome from Salesforce — including the loss reason — into the folder. Active workspaces stay clean while deal history is preserved for future reference and compliance. If a prospect re-engages later, historical proposals and contracts are easy to retrieve.

Use case

Notify Customer Success Teams When New Contracts Land in Box

When a signed contract or onboarding document is uploaded to a Box folder linked to a Salesforce account, tray.ai can automatically alert the assigned Customer Success Manager via Slack or email, create a follow-up task in Salesforce, and log the event on the account timeline. No new customer falls through the cracks between deal close and onboarding start. CSMs get what they need without waiting on a manual handover.

Get started with Box & Salesforce integration today

Box & Salesforce Challenges

What challenges are there when working with Box & Salesforce and how will using Tray.ai help?

Challenge

Matching Box Folders to the Correct Salesforce Records

With thousands of accounts and opportunities in Salesforce, reliably linking the right Box folder to the right CRM record is a real problem. Inconsistent naming conventions, duplicate account names, and missing unique identifiers can cause documents to land on the wrong records or workflows to fail silently.

How Tray.ai Can Help:

tray.ai's flexible data mapping and conditional logic let you match Box folders to Salesforce records using multiple attributes — custom fields, opportunity IDs, or account numbers stored as Box metadata — so record linkage stays accurate even in messy organizational structures.

Challenge

Handling Box Folder Permissions and Salesforce User Access

Enterprise Box deployments often have strict folder permissions tied to user roles or teams, while Salesforce access runs on its own profile and sharing model. Keeping these two permission systems aligned during automated folder creation or file sharing is hard to manage manually, especially when team members change roles or leave.

How Tray.ai Can Help:

tray.ai can incorporate permission-setting steps directly into folder creation workflows, automatically granting access to the right Box collaborators based on Salesforce role or team data. Workflows can also be triggered by ownership changes in Salesforce to update Box permissions accordingly.

Challenge

Avoiding Duplicate Files and Version Conflicts

When both Box and Salesforce allow file uploads and both teams are actively working, it's easy to end up with multiple copies of the same proposal or contract in different locations. Without a clear sync strategy, version conflicts lead teams to work from outdated documents — which causes errors in customer communications or creates legal exposure.

How Tray.ai Can Help:

tray.ai workflows can enforce a single-source-of-truth model by checking for existing files before uploading, using Box version history to track changes, and updating Salesforce records to always point to the canonical Box file rather than storing binary copies inside the CRM.

Challenge

Scaling Folder Creation for High-Volume Sales Teams

For sales organizations creating dozens or hundreds of opportunities per day, manual folder provisioning in Box doesn't scale. Batch processing, API rate limits, and the need to handle partial failures gracefully are real operational concerns when automating at volume.

How Tray.ai Can Help:

tray.ai handles enterprise-scale automation with native support for API rate limits, retry logic, and error handling. High-volume folder creation workflows run asynchronously with full logging and alerting, so operations teams can see every success and failure without babysitting individual runs.

Challenge

Keeping Box Metadata in Sync as Salesforce Records Evolve

Salesforce account and opportunity records change constantly — ownership transfers, renewal dates shift, contract values get updated — but Box folder metadata often goes stale because nothing pushes those changes back into the content layer. Stale metadata breaks search, compliance reporting, and governance workflows that depend on accurate content tagging.

How Tray.ai Can Help:

tray.ai can trigger metadata sync workflows whenever specific Salesforce fields are updated, pushing the latest values into corresponding Box metadata templates. Box content stays tagged with current CRM data, keeping search results accurate and compliance reports trustworthy without manual intervention.

Start using our pre-built Box & Salesforce templates today

Start from scratch or use one of our pre-built Box & Salesforce templates to quickly solve your most common use cases.

Box & Salesforce Templates

Find pre-built Box & Salesforce solutions for common use cases

Browse all templates

Template

New Salesforce Opportunity → Create Structured Box Folder

Automatically provisions a tiered Box folder structure whenever a new opportunity is created in Salesforce, then writes the Box folder URL back to the opportunity record for one-click access.

Steps:

  • Trigger: New opportunity is created in Salesforce
  • Action: Create a parent Box folder named after the opportunity with subfolders for Proposals, Contracts, and Supporting Docs
  • Action: Update the Salesforce opportunity record with the Box folder URL as a custom field

Connectors Used: Salesforce, Box

Template

Box File Upload → Attach to Salesforce Record

Monitors a designated Box folder for new or updated files and automatically links them as attachments or ContentDocuments on the matching Salesforce account or opportunity record.

Steps:

  • Trigger: A new file is uploaded or an existing file is updated in a monitored Box folder
  • Action: Identify the associated Salesforce record using folder metadata or naming convention
  • Action: Create or update a Salesforce ContentDocument link on the matched record

Connectors Used: Box, Salesforce

Template

Box Contract Signed → Advance Salesforce Opportunity to Closed Won

Watches for contract files moved into a designated 'Signed' Box folder and automatically updates the associated Salesforce opportunity stage, closes the deal, and notifies stakeholders.

Steps:

  • Trigger: A file is moved into the 'Signed Contracts' folder in Box
  • Action: Match the file to a Salesforce opportunity by folder metadata or file naming pattern
  • Action: Update the opportunity stage to Closed Won and set the contract execution date; send a Slack notification to the account owner

Connectors Used: Box, Salesforce

Template

Salesforce Opportunity Stage Change → Copy Proposal Template from Box

When an opportunity reaches the Proposal stage in Salesforce, automatically copies the right approved template from a master Box library into the deal folder and notifies the assigned rep.

Steps:

  • Trigger: Salesforce opportunity stage is updated to 'Proposal/Price Quote'
  • Action: Identify the correct proposal template in the Box master template library based on opportunity type or region
  • Action: Copy the template into the deal-specific Box folder and send a notification to the assigned sales rep

Connectors Used: Salesforce, Box

Template

Salesforce Closed Lost → Archive Box Opportunity Folder

Automatically moves the Box folder associated with a lost opportunity into an archive directory, applies retention metadata pulled from Salesforce, and keeps the workspace organized.

Steps:

  • Trigger: Salesforce opportunity is updated to Closed Lost
  • Action: Locate the associated Box folder using the stored folder URL on the opportunity record
  • Action: Move the folder to the archive directory and apply Box metadata tags including loss reason, close date, and opportunity owner from Salesforce

Connectors Used: Salesforce, Box

Template

New Box Contract Upload → Create Salesforce Onboarding Task and Notify CSM

When a signed contract is added to a Box account folder, automatically creates a Salesforce follow-up task for the Customer Success Manager and sends an alert with key account details.

Steps:

  • Trigger: A new file matching the naming pattern for signed contracts is uploaded to a Box account folder
  • Action: Retrieve account and opportunity details from Salesforce using the folder metadata
  • Action: Create a new Salesforce task assigned to the CSM and send an email or Slack notification with the contract link and account context

Connectors Used: Box, Salesforce