Read File Info

Read metadata information about a file.

Input

Field Definition Type Required
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. The Search Files card has a File ID output field that can be dragged into this input field.

String TRUE

Output

Field Definition Type
File Name

Name of the file.

String
Description Description of the file. String
Starred
  • True: A file has a "Starred" label applied to it
  • False: A file does not have a "Starred" label applied to it
Boolean
Parent Item ID Provides a list output for all of the parent folders inside of which the file you read information exists. List of Text
Version A monotonically increasing version number for the file. String
Web View Link URL directly to the link that will pull up the file inside Google Drive. String
Thumbnail Link A short-lived link to the file's thumbnail, if available. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content. String
Created Time Date when the file was created. String
Modified Time Date when the file was last modified. String
Capabilities Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take. List of Text
Last Modified User Name of the user who last modified the file. String
Permissions
Shared Indicates whether the file is shared and accessible or not. Boolean
Owners Name of the person who owns the file. List of Text
Editors List of names of people who have edit access to the file. List of Text
Viewers List of names of people who have viewer access to the file. List of Text
Commenters List of names of people who have comment access to the file. List of Text
Allow File Discovery Indicates whether the file is discoverable or not via search inside Google Drive. Boolean
Writers Can Share Indicates whether the people with write access can share the file. Boolean
Viewers Can Download Indicates whether viewers can download the file. Boolean

Related topics

Google Drive connector

Workflow elements

G Suite API documentation