Skip to main content

Update File Location

Update a file's location, by adding or removing it's parents. Note, each file can have only one parent.

External Documentation

To learn more, visit the Google Drive documentation.

Basic Parameters

ParameterDescription
Add ParentsA folder's ID to add the file into. Insert a single ID.
File IDThe ID of the file to update it's location.
Remove ParentsA folder's ID to remove the file from. Insert a single ID.
Supports All DrivesWhether the requesting application supports both My Drives and shared drives.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.

Example Output

{
"kind": "drive#file",
"id": "2XL2zxUymAaSI9J-NNhbMqnlca5KnrbHd",
"name": "File name",
"mimeType": "text/plain"
}

Workflow Library Example

Update File Location with Google Drive and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop