Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developer.box.com/llms.txt

Use this file to discover all available pages before exploring further.

The Push File to Box Flow action lets Salesforce admins automatically send files stored in Salesforce (as ContentVersion records) to a designated folder in Box. You can use it to automate file management workflows between Salesforce and Box.

Overview

With the Box for Salesforce integration, you can use Flow Builder to automate file transfers from Salesforce to Box. The Push File to Box action is an invocable Flow action that:
  • Uploads files from Salesforce to Box.
  • Associates files with a specific Box folder.
  • Supports automation through record-triggered or screen flows.
This is useful for scenarios such as:
  • Uploading attachments from Salesforce records into Box automatically.
  • Automating document storage for compliance or collaboration.
  • Syncing files as part of business workflows.

Prerequisites

Before you use this action, make sure that:

How it works

The Push File to Box action takes a Salesforce file and uploads it to Box. Internally:
  1. Salesforce stores files as ContentVersion records.
  2. The Flow action retrieves the file data.
  3. The file is uploaded to a specified Box folder.
  4. The file becomes available in Box for collaboration and storage.
The action supports files up to 25 MB and includes built-in retry handling for rate limits.

Create a flow using Push File to Box

1

Create or open the flow

  1. In Salesforce, navigate to Setup → Flows.
  2. Click New Flow.
  3. Choose a flow type:
    • Record-Triggered Flow (recommended for automation).
    • Screen Flow (for user-driven uploads).
2

Add the Push File to Box action

  1. In Flow Builder, click + Add Element.
  2. Select Action.
  3. Search for Push File to Box and select the action.
3

Configure input parameters

Provide the required inputs:
ParameterRequiredDescription
Content Version IDYesThe ID of the Salesforce file (ContentVersion) you want to upload.
Box Folder IDYesThe numeric ID of the destination folder in Box (for example, 987654321).
File NameNoOverride the default file name if needed.
4

Connect the flow

  1. Connect the action to your flow logic.
  2. Make sure the flow retrieves or stores the ContentVersionId before this step.
  3. Save and activate the flow.

Example use case

A common implementation looks like this:
  1. A user uploads a file to a Salesforce record.
  2. A record-triggered flow runs.
  3. The flow retrieves the file’s ContentVersionId.
  4. The Push File to Box action uploads the file to the corresponding Box folder.
This ensures all files related to Salesforce records are automatically stored in Box.

FAQs

Yes. Files larger than 25 MB are not supported and will fail to upload.
If the admin OAuth token is missing or expired, the action returns nothing. Make sure the Box connection is active and validate results using isSuccess and errorMessage after the action with a Decision element.
Use the numeric Box folder ID (for example, 987654321). Using a Salesforce record ID or a folder name causes the action to fail.