Update File Info

Add or change file information in Google Drive by using file ID.

Options

Field Definition Type Required
Shared Drive?

Choose from Yes or No.

If Yes

  • actions with files and folders are performed from a shared drive.

  • Writer Can Share input field is not available.

If No, actions with files and folders are performed from My Drive.

Dropdown TRUE
Note

Additional Shared Drive information

When users share from Google Drive, they can control whether people can edit, comment on, or only view the file.

  • Viewer, People can view, but can’t change or share the file with others, or delete files.

  • Commenter, People can add comments and suggestions, but can’t change files, share files with others, or delete files.

  • Editor, People can make changes, accept or reject suggestions, share files with others, and version files. They can’t delete files.

File can be deleted by owner of a shared drive. Learn about how to share files from Google Drive here.

Performing operations on shared drives can cause delays if a user has multiple shared drives. Learn about shared drive file and folder limits here.

Input

Field Definition Type Required
Update By
File ID Unique identifier for a file; can be found in the URL of the file or by using Search Files. String TRUE
Fields
Name Name of the file. String FALSE
Parent Folder ID ID of the folder within which the file is nested. This ID can be found by using Search Folders. String FALSE
Description Description of the file. String FALSE
Starred Indicates whether the file is starred. Boolean FALSE
Writers Can Share Indicates whether the people with write access can share the file. Boolean FALSE
Viewers Can Download Indicates whether viewers can download this file. Boolean FALSE

Output

Field Definition Type
File Name

Name of the file.

String
File ID Unique identifier for a file; can be found in the URL of the file or by using the Search Files action card. See Search Files. String

Related topics

Google Drive connector

Workflow elements

G Suite API documentation