Box - Delete a file

The Box - Delete 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. deletes the specified file from Box.

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

Configure the Box - Delete a file action

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

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

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 - Delete a file action fields, buttons, and settings

Section

Field

Description

Variable types

(Unlabeled)

Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's 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 specifying the file to delete.

(n/a)

Source

Select a source type

Select how the action finds the file in Box:

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

(n/a)

 

File path

Displays when you select the Path source type.

The location in Box where the workflow retrieves the file to delete.

Boolean, Collection, DateTime, Decimal, Integer, Text

 

Folder ID

Displays when you select the File ID source type.

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

Text