Skip to main content
Version: Current

Copy File

Description​

Copies a file from Google Drive into a target folder.

The copied file is created as a separate file in the destination folder while preserving the original file.


Common Capabilities​

Process Data Support​

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from Agent Data, Workflow Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.

Learn more → Using Process Data


Design-Time Configuration​

Display Text​

A user-defined name for the activity, displayed on the workflow canvas to help identify its purpose.

Connection Name​

The configured Google Drive connection used to access Google Drive resources.

Source File​

The file to copy.

You can:

  • Select a file using the Custom Picker Dialog.
  • Provide a file identifier dynamically through Process Data.

Target Folder​

The destination folder where the file will be copied.

You can:

  • Select a folder using the Custom Picker Dialog.
  • Provide a folder identifier dynamically through Process Data.

Wait All Incoming​

Execution Control

Controls how this activity behaves when multiple incoming execution paths converge.

Determines whether the activity executes when:

  • Any incoming path completes, or
  • All relevant incoming paths complete before execution

Learn more → Execution Control


On Error​

Error Handling Strategy

Defines how the workflow behaves if this activity encounters a runtime error.

Supported strategies include:

  • Fault
  • Continue
  • Suspend
  • Retry

Learn more → Error Handling


Output​

File​

A File Reference representing the copied file. File References are a platform-wide IB-X file abstraction that can be passed to other activities that accept file inputs.

PropertyDescription
NameName of the file.
SizeFile size in bytes. May be empty when not available.
File IDUnique identifier of the file in Google Drive.
MIME TypeMIME type of the file.
Parent FolderParent folder containing the file.
Created TimeWhen the file was created.
Modified TimeWhen the file was last modified.
Web View LinkLink to view the file in Google Drive.

Remarks​

  • The original file is not modified.
  • A new file is created in the destination folder.
  • The authenticated Google account must have permission to access both the source file and destination folder.
  • Google Drive ownership and sharing rules continue to apply to the copied file.