File Created
Trigger a flow when a new file is created in or added to Google Drive.
Setup
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
- Create a folder in Google Drive and give it a name.
- Add a File Created event card for the Google Drive connector.
- Search for and select the folder name.
- Leave the Folder ID field blank.
Option 2: Input the Folder ID
- Create the folder in Google Drive.
- Navigate to the folder in Google Drive.
- Copy the folder ID found in the URL. The folder ID is the string after folder/ in the URL. For example, for the URL https://drive.google.com/drive/folders/1dyUEebJaFnWa3Z4n0BFMVAXQ7mfUH11g, the folder ID is 1dyUEebJaFnWa3Z4n0BFMVAXQ7mfUH11g.
- Add a File Created event card for the Google Drive connector.
- In the Folder ID field option, add the folder ID.
Output
Field | Definition | Type |
---|---|---|
File |
||
File Name |
Name of the file. |
Text |
File ID |
Unique ID of the file. |
Text |
Folder |
Option to select folder in which to insert file. |
List of Text |
Description |
Description of the file. |
Text |
Starred |
Indicates whether the file is starred. |
True/False |
Parent Item ID |
Parent folder for the file. |
List of Text |
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. |
Text |
Web View Link |
URL for the link that will pull up the folder inside Google Drive. |
Text |
Created Time |
Date when the file was created (in ISO format). |
Text |
Modified Time |
Date when the file was last modified (in ISO format). |
Text |
Last Modified User |
Name of the user who last modified the file. |
Text |
Permissions |
||
Shared |
Indicates whether the file is shared and accessible. |
True/False |
Owner |
Name of the person who owns the file. |
Text |
Editors |
Names of people who have edit access to the file. |
List of Text |
Viewers |
Names of people who have viewer access to the file. |
List of Text |
Commenters |
Names of people who have comment access to the file. |
List of Text |
Allow File Discovery |
Indicates whether the file is discoverable through search inside Google Drive. |
True/False |
Writers Can Share |
Indicates whether the people with write access can share the file. |
True/False |
Viewers Can Copy Content |
Indicates whether viewers can copy this file. |
True/False |