Box
App · File Storage · 14 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.
idtextnametexttypetext
Actions
| Action | What it does |
|---|---|
| Add comment to file | Comment on a Box file as the connected account. |
| Copy file | Copy a Box file into a folder, optionally under a new name. |
| Create folder | Create a folder in Box, inside another folder or at the top of your account. |
| Create shared link | Create a shared link for a Box file. |
| Download file | Download a file from Box. |
| Get file details | Look up a Box file: its name, size, folder, owner, when it was made and last changed, and its shared link if it has one. |
| Get folder details | Look up a Box folder: its name, how many items it holds, its size, where it is, its owner, its tags and its shared link if it has one. |
| List folder items | List the files and subfolders inside a Box folder. |
| Move or rename file | Move a Box file to another folder, give it a new name, or both. |
| Move to trash | Move a Box file, or a folder and everything in it, to the trash. |
| Search files and folders | Search Box for files and folders by name, description or what's in them, most relevant first. |
| Share with someone | Give someone access to a Box folder or file by their email address, as an editor, viewer or another role. |
| Update folder | Rename a Box folder, change its description or tags, or move it, with everything in it, into another folder. |
| Upload file | Upload a file to a Box folder and get a shareable link. |
Add comment to file
Comment on a Box file as the connected account. Everyone who can see the file sees the comment, and @mentions aren't sent as notifications.
Inputs
- File
file_idtextRequired - The Box file's ID: the number at the end of its address, such as 123456789 in app.box.com/file/123456789.
- Comment
messagetextRequired - What the comment says.
Outputs
comment_idtext- The new comment's Box ID.
created_attext- When it was added.
file_idtext- The file it's on.
messagetext- What the comment says.
Example output
{
"comment_id": "445566778",
"created_at": "2026-07-16T10:30:00-07:00",
"file_id": "123456789",
"message": "Signed copy received."
}Copy file
Copy a Box file into a folder, optionally under a new name. Box won't replace a file with the same name already there: the step fails and nothing is copied.
Inputs
- File
file_idtextRequired - The Box file's ID: the number at the end of its address, such as 123456789 in app.box.com/file/123456789.
- Copy to folder
folder_idtextRequired - The folder to put the copy in: its ID, the number at the end of the folder's address. 0 is your top folder.
- Name of the copy
new_nametext - A name for the copy. Leave blank to keep the original's name; a copy into the same folder needs a new one.
Outputs
idtext- The item's Box ID.
linktext- The item's page in Box.
nametext- The item's name.
typetext- file or folder.
Example output
{
"id": "123456790",
"link": "https://app.box.com/file/123456790",
"name": "report copy.pdf",
"type": "file"
}Create folder
Create a folder in Box, inside another folder or at the top of your account.
Inputs
- Inside folder
parent_folder_idtextRequired - The folder to create it in: its ID, the number at the end of the folder's address. Enter 0 for your top folder.
- Folder name
nametextRequired - The new folder's name, such as Invoices 2026.
Outputs
idtext- The item's Box ID.
linktext- The item's page in Box.
nametext- The item's name.
typetext- file or folder.
Example output
{
"id": "223344556",
"link": "https://app.box.com/folder/223344556",
"name": "Invoices 2026",
"type": "folder"
}Create shared link
Create a shared link for a Box file. You can control whether the link allows downloads and previews.
Inputs
- File ID
file_idtextRequired - The ID of the Box file to share.
- Access
accesstext - Who can open the link.One of:
open(Anyone with the link),company(People in your company),collaborators(Only invited collaborators). - Allow download
allow_downloadtrue/false - Set to true to let people who can open the link to download the file.Default:
true. - Allow preview
allow_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 ID
file_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"
}Get file details
Look up a Box file: its name, size, folder, owner, when it was made and last changed, and its shared link if it has one.
Inputs
- File
file_idtextRequired - The Box file's ID: the number at the end of its address, such as 123456789 in app.box.com/file/123456789.
Outputs
created_attext- When the file was added to Box.
descriptiontext- The file's description, if it has one.
folder_idtext- The ID of the folder it's in.
folder_nametext- The name of the folder it's in.
idtext- The file's Box ID.
linktext- The file's page in Box.
modified_attext- When the file last changed.
modified_by_emailtext- Their email address.
modified_by_nametext- Who changed it last.
nametext- The file's name.
owner_emailtext- The owner's email address.
owner_nametext- Who owns it.
pathtext- The folders it's inside, from the top, such as All Files/Clients/Acme.
sha1text- A fingerprint of the file's contents, which changes when they do.
shared_linktext- Its shared link, or empty if it has none.
size_bytesnumber- The file's size in bytes.
Example output
{
"created_at": "2026-07-15T09:00:00-07:00",
"description": "",
"folder_id": "223344556",
"folder_name": "Acme",
"id": "123456789",
"link": "https://app.box.com/file/123456789",
"modified_at": "2026-07-16T10:30:00-07:00",
"modified_by_email": "ann@example.com",
"modified_by_name": "Ann Lee",
"name": "report.pdf",
"owner_email": "ann@example.com",
"owner_name": "Ann Lee",
"path": "All Files/Clients/Acme",
"sha1": "85136c79cbf9fe36bb9d05d0639c70c265c18d37",
"shared_link": "",
"size_bytes": 182133
}Get folder details
Look up a Box folder: its name, how many items it holds, its size, where it is, its owner, its tags and its shared link if it has one.
Inputs
- Folder
folder_idtextRequired - The Box folder's ID: the number at the end of its address, such as 223344556 in app.box.com/folder/223344556.
Outputs
created_attext- When it was made.
descriptiontext- The folder's description, if it has one.
idtext- The folder's Box ID.
item_countnumber- How many files and folders are directly inside it.
linktext- The folder's page in Box.
modified_attext- When it last changed.
nametext- The folder's name.
owner_emailtext- The owner's email address.
owner_nametext- Who owns it.
parent_idtext- The ID of the folder it's in.
parent_nametext- The name of the folder it's in.
pathtext- The folders it's inside, from the top, such as All Files/Clients.
shared_linktext- Its shared link, or empty if it has none.
size_bytesnumber- The size of everything in it, in bytes.
tagslist- Its tags.
Example output
{
"created_at": "2026-07-15T09:00:00-07:00",
"description": "Contracts and invoices for Acme",
"id": "223344556",
"item_count": 12,
"link": "https://app.box.com/folder/223344556",
"modified_at": "2026-07-16T10:30:00-07:00",
"name": "Acme",
"owner_email": "ann@example.com",
"owner_name": "Ann Lee",
"parent_id": "112233445",
"parent_name": "Clients",
"path": "All Files/Clients",
"shared_link": "",
"size_bytes": 5242880,
"tags": [
"clients"
]
}List folder items
List the files and subfolders inside a Box folder.
Inputs
- Folder ID
folder_idtextRequired - The ID of the Box folder to look in.
Outputs
itemslist
Example output
{
"items": [
{
"id": "987654321",
"name": "report.pdf",
"type": "file"
}
]
}Move or rename file
Move a Box file to another folder, give it a new name, or both. Box won't replace a file with the same name already there: the step fails and nothing changes.
Inputs
- File
file_idtextRequired - The Box file's ID: the number at the end of its address, such as 123456789 in app.box.com/file/123456789.
- Move to folder
folder_idtext - The folder to move it into: its ID, the number at the end of the folder's address. 0 is your top folder. Leave blank to keep it where it is.
- New name
new_nametext - A new name for the file, such as report-final.pdf. Leave blank to keep its name.
Outputs
idtext- The item's Box ID.
linktext- The item's page in Box.
nametext- The item's name.
typetext- file or folder.
Example output
{
"id": "123456789",
"link": "https://app.box.com/file/123456789",
"name": "report.pdf",
"type": "file"
}Move to trash
Move a Box file, or a folder and everything in it, to the trash. It can be restored from Box's trash until the trash is emptied (after 30 days unless your admin changed it).
Inputs
- File or folder
item_idtextRequired - The ID of the file or folder to trash: the number at the end of its address in Box.
- Is it a file or a folder?
item_typetext - Whether the ID is a file's or a folder's. A folder goes to the trash with everything in it.One of:
file(A file),folder(A folder). Default:file.
Outputs
idtexttrashedtrue/falsetypetext
Example output
{
"id": "123456789",
"trashed": true,
"type": "file"
}Search files and folders
Search Box for files and folders by name, description or what's in them, most relevant first. A file added in the last few minutes may not show up yet.
Inputs
- Search for
querytextRequired - The words to look for, such as invoice March.
- Look for
item_typetext - Only files, or only folders. Leave blank for both.One of:
file(Files),folder(Folders). - In folder
folder_idtext - Only look inside this folder and its subfolders: its ID, the number at the end of the folder's address. Leave blank to search everything.
- Max results
limitnumber - How many results to return, up to 200 (default 50).From 1 to 200.
Outputs
itemslist
Example output
{
"items": [
{
"id": "123456789",
"link": "https://app.box.com/file/123456789",
"name": "report.pdf",
"type": "file"
}
]
}Share with someone
Give someone access to a Box folder or file by their email address, as an editor, viewer or another role. Box emails them unless you turn that off, and someone without a Box account is invited to make one.
Inputs
- Folder or file
item_idtextRequired - The ID of the folder or file to share: the number at the end of its address in Box.
- Email address
emailtextRequired - The email address of the person to share it with.
- Is it a folder or a file?
item_typetext - Whether the ID is a folder's or a file's.One of:
folder(A folder),file(A file). Default:folder. - What they can do
roletext - What the person can do with it. Viewers can preview, download and comment; editors can also upload, change and delete.One of:
viewer(Viewer: see and download),editor(Editor: change everything),previewer(Previewer: see only),uploader(Uploader: add files only),viewer uploader(Viewer and uploader),previewer uploader(Previewer and uploader),co-owner(Co-owner: also manage who has access). Default:viewer. - Email them about it
notifytrue/false - Turn off to share it without Box emailing the person.Default:
true.
Outputs
collaboration_idtext- The ID Box gave this access.
emailtext- Who it was shared with.
item_idtext- The folder or file shared.
item_typetext- folder or file.
linktext- The folder's or file's page in Box.
roletext- What they can do.
statustext- accepted, or pending until they accept.
Example output
{
"collaboration_id": "998877665",
"email": "ann@example.com",
"item_id": "223344556",
"item_type": "folder",
"link": "https://app.box.com/folder/223344556",
"role": "viewer",
"status": "accepted"
}Update folder
Rename a Box folder, change its description or tags, or move it, with everything in it, into another folder. Fields left blank stay as they are.
Inputs
- Folder
folder_idtextRequired - The Box folder's ID: the number at the end of its address, such as 223344556 in app.box.com/folder/223344556.
- New name
nametext - The folder's new name. Leave blank to keep it.
- Description
descriptiontext - A new description, up to 256 characters.
- Move into folder
parent_folder_idtext - The ID of the folder to move it into: the number at the end of that folder's address, or 0 for your top folder. Leave blank to leave it where it is.
- Tags
tagslist - The folder's tags. These replace the tags it has now.
Outputs
created_attext- When it was made.
descriptiontext- The folder's description, if it has one.
idtext- The folder's Box ID.
item_countnumber- How many files and folders are directly inside it.
linktext- The folder's page in Box.
modified_attext- When it last changed.
nametext- The folder's name.
owner_emailtext- The owner's email address.
owner_nametext- Who owns it.
parent_idtext- The ID of the folder it's in.
parent_nametext- The name of the folder it's in.
pathtext- The folders it's inside, from the top, such as All Files/Clients.
shared_linktext- Its shared link, or empty if it has none.
size_bytesnumber- The size of everything in it, in bytes.
tagslist- Its tags.
Example output
{
"created_at": "2026-07-15T09:00:00-07:00",
"description": "Contracts and invoices for Acme",
"id": "223344556",
"item_count": 12,
"link": "https://app.box.com/folder/223344556",
"modified_at": "2026-07-16T10:30:00-07:00",
"name": "Acme",
"owner_email": "ann@example.com",
"owner_name": "Ann Lee",
"parent_id": "112233445",
"parent_name": "Clients",
"path": "All Files/Clients",
"shared_link": "",
"size_bytes": 5242880,
"tags": [
"clients"
]
}Upload file
Upload a file to a Box folder and get a shareable link.
Inputs
- Folder ID
folder_idtextRequired - The ID of the Box folder to upload into.
- File to upload
file_pathtextRequired - The file to upload: upload one, pick a file from an earlier step, or paste a link to one.
- File name
file_nametext - A different name to save the file as in Box. If left blank, the original file name is used.
Outputs
file_idtextfile_linktext
Example output
{
"file_id": "123456789",
"file_link": "https://app.box.com/file/123456789"
}