Box - Get folder contents

The Box - Get folder contents action A tool for building the processes, logic, and direction within workflows. stores information about items in the specified folder in Box.

For more information about the Box connector, go to Box.

Configure the Box - Get folder contents action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  2. Select a Connection. If you do not have a connection, see Add a connection.
  3. In Select a Source type, select how you want to specify the source folder.
  4. Specify the File path or File ID:
    • File path: The Path to the folder you want to retrieve. You can also browse the folder structure using the browse icon ()

    • File ID: The ID of the folder to retrieve.

Maintain path integrity

Caution: If a file/folder that's used in a workflow is moved, renamed, or deleted, any workflows that use that file/folder will not start or will fail. Make sure you keep the paths in your workflow configurations up to date.

Box - Get folder contents action fields, buttons, and settings

Section

Field

Description

Variable types

(Unlabeled)

Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Box connection to use for getting the folder contents.

(n/a)

Source

Select a source type

Select how the action finds the file in Box:

  • Path: location in Box directory.
  • Folder ID: unique folder identifier number.

(n/a)

 

Folder path

Displays when you select the Path source type.

The folder in Box where the workflow retrieves information about contents. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Boolean, DateTime, Decimal, Integer, Text

 

Folder ID

Displays when you select the Folder ID source type.

The unique identifier number the action uses to access the folder in Box.

Boolean, DateTime, Decimal, Integer, Text, Collection

Output

Result

Object variable to store the following variables:

  • Item IDs: (Collection) The ID of items in the folder.

  • Item names: (Collection) The names of items in the folder.

  • Item paths: (Collection) The paths of items in the folder.

  • Is folder: (Collection) The folder status of the items in the folder

  • Created date: (Collection) The creation dates of items in the folder.

  • Modified date: (Collection) The modified dates of items in the folder.

Object A variable that groups several related variables of any type into a hierarchical structure. Objects can contain other Objects.