Copy an approved file into an approved destination folder under a safe name.
Behavior
Copies a file to another path. It returns a continuation signal only after the requested operation completes successfully.
You can connect a file from Download from URL or the artifact from Wait for Download directly, even while its contents are still in memory. The file is written to Destination folder under Name. Connect the new file output to a block that requires a local disk file.
You can also connect the image output of Capture Screenshot or Resize Image, or audio from Text to Speech.
Inputs
file- File: text (filesystem.file); required.destinationFolder- Destination folder: text (filesystem.folder); required.name— Name:text; required.overwrite- Overwrite: boolean; optional.
Outputs
file- File: text (filesystem.file); required.
fire- becomes true only after the operation completes validly.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
name | Name | text | Empty text | — |
overwrite | Overwrite | checkbox | false | — |
What happens when it runs
This block runs directly in the Files & Documents add-on. Connect file, folder, binary, and credential outputs from earlier successful blocks in the same workflow run; the add-on uses those connected resources without exposing local paths.
Connected inputs take precedence over saved settings, including false and empty values. A present malformed connector never falls back to a saved value and stops the workflow with a clear message.
- The connected resource expired, belongs to another run, or no longer exists. Reconnect the matching output or recreate the item earlier in this run.
- The chosen output already exists. Choose another name or enable Overwrite. Replacing an existing file or folder still requires explicit confirmation; cancelling leaves it untouched.
- If an unexpected local problem occurs after valid inputs, retry after closing applications that may hold the file; if it repeats with the same valid inputs, reinstall or update this official add-on.
Every failure stops the workflow at this block. No partial resource output or success Fire is emitted.
