New260+ blocks and 240+ tools are now fully documented
DocumentationReferenceTool IntegrationsStorage & Files
Tool

Box

Upload, download, and manage files and folders in Box cloud storage

Integrate Box cloud storage into your workflows to upload and download files, browse folder contents, create folders, manage sharing links, and retrieve file metadata — all authenticated via OAuth.

Overview

PropertyValue
Typebox
CategoryTool — Cloud Storage
AuthOAuth 2.0 (Box)

Operations

OperationTool IDDescription
Upload Filebox_upload_fileUpload a file to a specified Box folder
Download Filebox_download_fileDownload a file from Box as base64-encoded content
List Folderbox_list_folderList files and subfolders inside a Box folder (up to 100 items)
Create Folderbox_create_folderCreate a new folder inside an existing Box folder
Delete Filebox_delete_filePermanently delete a file from Box
Get File Infobox_get_file_infoRetrieve detailed metadata about a file (size, timestamps, parent, shared link)
Create Shared Linkbox_create_shared_linkGenerate a publicly accessible shared link for a file

Configuration

SettingParam NameTypeRequiredDescription
Box Account (OAuth)accessTokenstringYesOAuth access token injected automatically when a Box account is connected. Hidden from the UI — connect your account via the Box Account credential picker.
File IDfileIdstringYes (Download File, Delete File, Get File Info, Create Shared Link)The unique Box file identifier (numeric string visible in the Box web URL).
Folder IDfolderIdstringYes (List Folder, Create Folder, Upload File)The unique Box folder identifier. Use "0" to target the root folder.
File / Folder NamefileNamestringNo (Upload File); Yes (Create Folder)Destination filename for an upload, or the name of the new folder to create.
FileuploadFilefileNoThe file object to upload. Provided via a file-upload sub-block or an upstream block output.

Outputs

Upload File (box_upload_file)

FieldTypeDescription
idstringBox file ID of the newly uploaded file
namestringFilename as stored in Box
sizenumberFile size in bytes
parentIdstringID of the folder the file was uploaded into

Download File (box_download_file)

FieldTypeDescription
filefileFile object with name, mimeType, data (base64), and size
contentstringRaw base64-encoded file content

List Folder (box_list_folder)

FieldTypeDescription
entriesarrayArray of items, each containing type, id, name, size, createdAt, and modifiedAt
totalCountnumberTotal number of items in the folder

Create Folder (box_create_folder)

FieldTypeDescription
idstringBox ID of the newly created folder
namestringName of the created folder
createdAtstringISO 8601 creation timestamp
parentIdstringID of the parent folder

Delete File (box_delete_file)

FieldTypeDescription
deletedbooleantrue when the file was successfully deleted
messagestringHuman-readable confirmation message

Get File Info (box_get_file_info)

FieldTypeDescription
idstringBox file ID
namestringFile name
sizenumberFile size in bytes
sha1stringSHA-1 hash of the file content
createdAtstringISO 8601 creation timestamp
modifiedAtstringISO 8601 last-modified timestamp
parentIdstringID of the containing folder
sharedLinkjsonExisting shared link details, or null if none
FieldTypeDescription
urlstringShared link URL (publicly accessible)
downloadUrlstringDirect download URL for the file
accessstringAccess level set on the link — always open (public) when created via this tool

Example

[Starter] → [Box: Upload File] → [Agent: analyze the uploaded file] → [Box: Create Shared Link]

When a workflow is triggered, the Starter block passes a file (e.g. from {{starter.file}}) to the Box: Upload File block, setting folderId to {{BOX_REPORTS_FOLDER_ID}} and fileName to {{starter.fileName}}. The resulting {{box.id}} is then handed to Box: Create Shared Link so an Agent can include the public {{box.url}} in a summary or notification.

Tips

  • Finding a file or folder ID — open the item in the Box web app; the numeric ID appears at the end of the URL (e.g. https://app.box.com/folder/123456789).
  • Root folder — use "0" as the folderId for any operation that targets the top-level folder of the connected account.
  • Download readiness — Box may return HTTP 202 while a file is being processed. If the Download File operation throws a "not yet ready" error, add a short Wait block before retrying.
  • Shared link access — the Create Shared Link tool always creates an open (anyone with the link) shared link. If you need restricted access (company or collaborators only), update the link via the Box web UI or a custom HTTP block after creation.
  • Upload via proxy — the Upload File tool routes through the internal /api/tools/box/upload endpoint rather than calling Box directly, so the OAuth token is never exposed in the browser for file payloads.