Box

Box

Box™ is a service that keeps your files safe, synced, and easy to share. Connect to Box to manage your files. You can perform various actions such as upload, update, get, and delete files in Box.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure China regions
Flow Standard All Flow regions
PowerApps Standard All PowerApps regions

General Limits

Name Value
Maximum file size (in MB) 50
Maximum folder items count 10000

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Copy file

Copy a file to a file path in Box.

Required Parameters

Source Url
string
The url to source file.
Destination File Path
string
The destination file path in Box, including target filename.

Optional Parameters

Overwrite
boolean
Overwrites the destination file if set to 'true'.

Returns

Body
BlobMetadata

Blob metadata

Create file

Uploads a file to Box.

Required Parameters

Folder Path
string
The folder path to upload the file to Box.
File Name
string
The name of the file to create in Box.
File Content
binary
The content of the file to upload to Box.

Returns

Body
BlobMetadata

Blob metadata

Delete file

Deletes an existing file from Box.

Required Parameters

File Id
string
The unique identifier of the file to delete from Box.

Returns

Body
BlobMetadata

Blob metadata

Extract archive to folder

Extracts an archive file into a folder in Box (example: .zip).

Required Parameters

Source Archive File Path
string
The path to the archive file.
Destination Folder Path
string
The path in Box to extract the archive contents.

Optional Parameters

Overwrite
boolean
Overwrites the destination files if set to 'true'.

Returns

array of BlobMetadata

Get file content using id

Retrieves the file content from Box using id.

Required Parameters

File Id
string
The unique identifier of the file in Box.

Optional Parameters

Infer Content Type
boolean
A boolean value (true, false) to infer content-type based on extension.

Returns

File Content
binary

The content of the file.

Get file content using path

Retrieves the file contents from Box using path.

Required Parameters

File Path
string
The unique path to the file in Box.

Optional Parameters

Infer Content Type
boolean
A boolean value (true, false) to infer content-type based on extension.

Returns

File Content
binary

The content of the file.

Get file metadata using id

Retrieves the file metadata from Box using file id.

Required Parameters

File Id
string
The unique identifier of the file in Box.

Returns

Body
BlobMetadata

Blob metadata

Get file metadata using path

Retrieves the file metadata from Box using path.

Required Parameters

File Path
string
The unique path to the file in Box.

Returns

Body
BlobMetadata

Blob metadata

List files and folders in folder

Lists the files and folders in a Box folder.

Required Parameters

Folder Id
string
The unique identifier of the folder in Box.

Returns

array of BlobMetadata

List files and folders in root folder

Lists the files and folders in the Box root folder.

Required Parameters

Source Url
string
The url to source file.
Destination File Path
string
The destination file path in Box, including target filename.

Optional Parameters

Overwrite
boolean
Overwrites the destination file if set to 'true'.

Returns

array of BlobMetadata

Update file

Updates an existing file in Box.

Required Parameters

File Id
string
The unique identifier of the file to update in Box.
File Content
binary
The content of the file to update in Box.

Returns

Body
BlobMetadata

Blob metadata

Triggers

When a file is created

Triggers a flow when a new file is created in a Box folder.

Required Parameters

Folder Id
string
The unique identifier of the folder in Box.

Optional Parameters

Infer Content Type
boolean
A boolean value (true, false) to infer content-type based on extension.

Returns

File Content
binary

The content of the file.

When a file is created (properties only)

This operation triggers a flow when a new file is created in a folder.

Required Parameters

Folder
string
The unique identifier of the folder.

Returns

List of Files
BlobMetadata

Blob metadata

When a file is modified

Triggers a flow when a file is modified in a Box folder.

Required Parameters

Folder Id
string
The unique identifier of the folder in Box.

Optional Parameters

Infer Content Type
boolean
A boolean value (true, false) to infer content-type based on extension.

Returns

File Content
binary

The content of the file.

When a file is modified (properties only)

This operation triggers a flow when a file is modified in a folder.

Required Parameters

Folder
string
Select a folder

Returns

List of Files
BlobMetadata

Blob metadata

Definitions

BlobMetadata

Blob metadata

DisplayName
string
The display name of the file or folder.
ETag
string
The etag of the file or folder.
FileLocator
string
The filelocator of the file or folder.
Id
string
The unique id of the file or folder.
IsFolder
boolean
A boolean value (true, false) to indicate whether or not the blob is a folder.
LastModified
date-time
The date and time the file or folder was last modified.
LastModifiedBy
string
The user who last modified the file or folder.
MediaType
string
The media type of the file or folder.
Name
string
The name of the file or folder.
Path
string
The path of the file or folder.
Size
integer
The size of the file or folder.