Box

App · File Storage · 4 actions · 1 trigger

Upload, share, and manage files stored in Box.

Triggers

Start a workflow when something happens in Box. See how triggers work.

Box New File

Triggers when a new file is added to Box

Filters

Narrow which events start a run.

folder_id

Event fields

What a run starts with. Later steps read each field with an @ reference.

idtext
nametext
typetext

Actions

ActionWhat it does
Create shared linkCreate a shared link for a Box file.
Download fileDownload a file from Box.
List folder itemsList the files and subfolders inside a Box folder.
Upload fileUpload a file to a Box folder and get a shareable link.

Create a shared link for a Box file. You can control whether the link allows downloads and previews.

Inputs

File IDfile_idtextRequired
The ID of the Box file to share.
Accessaccesstext
Who can open the link.One of: open (Anyone with the link), company (People in your company), collaborators (Only invited collaborators).
Allow downloadallow_downloadtrue/false
Set to true to let people who can open the link to download the file.Default: true.
Allow previewallow_previewtrue/false
Set to true to let people who can open the link to preview the file.Default: true.

Outputs

shared_linktext
Example output
{
  "shared_link": "https://box.com/s/abc123xyz789def456"
}

Download file

Download a file from Box.

Inputs

File IDfile_idtextRequired
The ID of the Box file to download.

Outputs

document_reftext
Reference to the downloaded file, usable as a file input in later steps
file_nametext
Example output
{
  "document_ref": "doc_0123456789abcdef0123456789abcdef",
  "file_name": "report.pdf"
}

List folder items

List the files and subfolders inside a Box folder.

Inputs

Folder IDfolder_idtextRequired
The ID of the Box folder to look in.

Outputs

itemslist
Example output
{
  "items": [
    {
      "id": "987654321",
      "name": "report.pdf",
      "type": "file"
    }
  ]
}

Upload file

Upload a file to a Box folder and get a shareable link.

Inputs

Folder IDfolder_idtextRequired
The ID of the Box folder to upload into.
File to uploadfile_pathtextRequired
The file to upload: upload one, pick a file from an earlier step, or paste a link to one.
File namefile_nametext
A different name to save the file as in Box. If left blank, the original file name is used.

Outputs

file_idtext
file_linktext
Example output
{
  "file_id": "123456789",
  "file_link": "https://app.box.com/file/123456789"
}

On this page