Update File

Update the content of a file, but preserve the previous versions, metadata, and other information.

Input

Field Definition Type Required

Update By

File ID

Unique ID of the file. The ID of a file can be found by navigating to the Google Drive web. Right-click on the file and select get sharable link. The File ID is the last part of that link, after id=. Example: https://drive.google.com/open?id=1avkd2a. Make sure to select the entire ID (about 20 characters long).

Alternatively, use the Search Files action card to find the file by name. See Search Files. The Search Files card has a File ID output field that can be dragged into this input field.

Text

TRUE

File Content

Unique ID of the file from the Workflows file system to be updated in Google Drive.

File

TRUE

Output

Field Definition Type

File Name

Name of the file.

Text

File ID

Unique ID of the file.

Text

Related topics

Google Drive connector

Workflow elements

Google Workspace API documentation