File Updated

Trigger a Flow when a file is updated inside of Google Drive or added to Google Drive.

Required fields are indicated with a red asterisk.

Unless otherwise mentioned, all fields are text.


The first step to using this card is selecting the folder to watch for new files created. There are two ways to pick a folder.

Option 1: Select a folder name from the dropdown menu

  1. Create a folder in Google Drive and give it a name.

  2. Add a File Created event card for the Google Drive connector.

  3. Search and select the folder name.

  4. Leave the Folder ID field blank.

Option 2: Input the Folder ID

  1. Create the folder in Google Drive.

  2. Navigate to the folder in Google Drive.

  3. Copy the folder ID found in the URL. The folder ID is the string after folder/ in the URL. For example, for the URL, the folder ID is 1dyUEebJaFnWa3Z4n0BFMVAXQ7mfUH11g.

  4. Add a File Created event card for the Google Drive connector.

  5. In the Folder ID field option, add the folder ID.


  • File

    • File Name: name of the file

    • File ID: unique ID of the file

    • Description: description of the file

    • Starred(True/False): whether the file is starred

    • Parent Item ID (list): output for all of the parent folders inside of which the file that created this workflow exists

    • Version: monotonically increasing version number for the file, this reflects every change made to the file on the server, even those not visible to the requesting user

    • Web View Link (URL): url for the link that will pull up the folder inside Google Drive

    • Thumbnail Link (URL): url for the link to the file's thumbnail

    • Created Time(date - iso format): date when the File was created

    • Modified Time (date - iso format): date when the File was last modified

    • Capabilities: capabilities that the current user has on the file; each capability corresponds to a fine-grained action that a user may take

    • Last Modified User: name of the user who last modified the file

  • Permissions

    • Shared (true/false): whether the file is shared and accessible

    • Owner: name of the person who owns the file

    • Editors (list): names of people who have edit access to the file

    • Viewers (list): names of people who have viewer access to the file

    • Commenters (list): names of people who have comment access to the file

    • Allow File Discovery (true/false): whether the file is discoverable through search inside Google Drive

    • Writers Can Share (true/false): whether the people with write access can share the file

    • Viewers Can Copy Content (true/false): whether views can copy the contents of the file

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation