Box - Copy a file
The Box - Copy a file action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. 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
-
Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.
- Select a Connection. If you do not have a connection, see Add a connection.
- Select how to find the source file in Box in Select a Source type.
- 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.
- 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 (
).
- 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) |
The Box connection to use for the copy operation. |
(n/a) |
|
Source |
Select a source type |
Select how the action finds the file:
|
(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 ( |
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 ( |
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.
|
Object |