Box - Copy a file

The Box - Copy a file action A tool for building the processes, logic, and direction within workflows. copies a file to a file path in Box.

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

Configure the Box - Copy a file 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. Select how to find the source file in Box in Select a Source type.
  4. Specify the File path, File ID or File variable:
    • File path: Specify the file path of the file you want. You can select a variable or type a file path. You can also browse the folder structure using the browse icon ().

    • File ID: The ID of the file.

    • File variable: file stored in a variable in the current workflow.

  5. Under Destination, in File path, type the file path where you want to copy the file. You can also browse the folder structure using the browse icon ().
  6. Select an option for Overwrite file.

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 - Copy a file 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 the copy operation.

(n/a)

Source

Select a source type

Select how the action finds the file:

  • Path: location in Box directory.
  • File ID: unique file identifier number in Box.
  • File variable: file stored in a variable in the current workflow.

(n/a)

 

Path

Displays when you select the Path source type.

The location in Box where the workflow retrieves the file to copy. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Boolean, DateTime, Decimal, Integer, Text

 

File ID

Displays when you select the File ID source type.

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

Boolean, DateTime, Decimal, Integer, Text, Collection

 

File variable

Displays when you select the File variable source type.

The file to copy to the destination path.

File

Destination

Path

The location in Box where the workflow moves the file to. Accepts any combination of typed text, text added through navigation (), and inserted variables.

Boolean, DateTime, Decimal, Integer, Text

 

Overwrite file

Select Yes to overwrite an existing file with the same name in the destination.

Boolean

Output

Output

Object variable to store the following details of the destination file.

  • Destination file ID: (Text) The ID of the destination file.

  • Destination path: (Text) The destination file path.

Object