REMOVE SINGLE OR MULTIPLE FILES IN A WORKFLOW

Removes one or more files from a workflow’s remote file store by their relative paths. Use this worker to clean up intermediate or unwanted files within a workflow without manual intervention.

When to use

Tagged: cleanup, file, file_management, remove, user, workflow.

Inputs

Label ID Type Default Required Description
Workflow workflow_id remote_lookup The target workflow from which files will be removed; select via remote lookup (primaryKey: remote_lookup_workflows) — required, no default.
Relative File Paths to Remote in the Workflow files_to_remove text Comma-separated list of relative file paths within the workflow’s remote storage to delete (e.g. nodes/node_file.json,nodes/node_file2.json) — required, no default.

Outputs

Label ID Type Description
Workflow workflow_id integer Integer ID of the workflow from which files were removed, returned for downstream chaining.
Old File Size old_file_size integer Total file count (or cumulative size in bytes) of the workflow’s remote store before the removal operation.
New File Size new_file_size integer Total file count (or cumulative size in bytes) of the workflow’s remote store after the removal operation, confirming successful deletion.

Disciplines

  • data.io.file
  • platform.workflow

Auto-generated from platform schema. Worker id: workflow_remove_files. Schema hash: 15eb6afebc5e. Hand-curated docs in workerexamples/ override this page when present.