Copy File

Copy a file to destination folder by ID in Google Drive.

Input

Field Definition Type Required
File ID Unique file ID. Can be found in the file URL or by using Search Files. String TRUE
Name Name of the file String FALSE
Description Description of the file String FALSE
Parent Folder ID Unique folder ID if the file is in a nested folder; can be found by using Search Folders. String FALSE
Starred Indicates if the document is starred Boolean FALSE
Viewers Can Download Indicates if viewers can download the content Boolean FALSE
Writers Can Share Indicates if writers can share the file Boolean FALSE

Output

Field Definition Type
File ID Copy file ID String
File Name New file name. The file name will combine Copy of with the the original file name. If no file name exists, the file name will be Copy of Untitled Document. String

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation