# Box + Salesforce integration

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

**Canonical page:** https://tray.ai/connectors/box-salesforce-integrations/
**Box connector:** https://tray.ai/connectors/box-integrations/
**Box documentation:** https://tray.ai/documentation/connectors/service/box
**Salesforce connector:** https://tray.ai/connectors/salesforce-integrations/
**Salesforce documentation:** https://tray.ai/documentation/connectors/service/salesforce

## Overview

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.

Sales teams live in Salesforce, but the documents that close deals — proposals, statements of work, NDAs, and signed contracts — live in Box. Without an integration, reps toggle between platforms, manually attach files to opportunities, and risk working from outdated versions. Connecting Box and Salesforce through tray.ai cuts that friction: Box folders get created automatically when new Salesforce accounts or opportunities open, signed documents attach back to the right CRM records, and follow-up workflows fire the moment a contract is executed. The value goes beyond sales too. Legal, finance, and customer success all benefit when content and CRM data stay in sync — less compliance risk, faster revenue-critical processes.

## Use cases

### 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.

- Eliminates manual folder creation for every new deal
- Enforces consistent folder naming and structure across the sales organization
- Keeps the Box folder URL visible directly inside Salesforce for instant access

### 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.

- Salesforce records stay current with the latest documents at all times
- Reduces duplicate uploads and version confusion across both platforms
- Gives sales reps and managers a complete picture without leaving Salesforce

### 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.

- Salesforce pipeline data stays accurate the moment a contract is signed
- Removes manual CRM updates from the post-signature workflow
- Speeds up downstream processes like invoicing and onboarding

### 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.

- Box content becomes searchable and filterable using live CRM data
- Supports compliance and audit workflows with accurate, up-to-date metadata
- Eliminates manual tagging of Box files with account information

### 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.

- Reps always start from the latest approved proposal template
- Cuts time-to-proposal by automating template distribution
- Maintains brand and legal consistency across all customer-facing documents

### 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.

- Keeps Box workspaces uncluttered by automatically archiving inactive deals
- Preserves deal history with CRM context attached directly to archived files
- Supports data retention policies without manual file management

### 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.

- Eliminates delayed or missed sales-to-CS handoffs
- Creates an automatic Salesforce task and activity record for the CSM
- Speeds up time-to-onboarding for new customers

## Templates

### 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.

Connectors used: Salesforce, Box

### 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.

Connectors used: Box, Salesforce

### 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.

Connectors used: Box, Salesforce

### 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.

Connectors used: Salesforce, Box

### 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.

Connectors used: Salesforce, Box

### 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.

Connectors used: Box, Salesforce

## Challenges Tray.ai solves

### 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 helps:** 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.

### 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 helps:** 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.

### 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 helps:** 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.

### 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 helps:** 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.

### 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 helps:** 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.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
