Google Drive - Get file metadata
Use the Google Drive - Get file metadata action A tool for building the processes, logic, and direction within workflows. to retrieve and store metadata of a specified file in Google Drive. For more information about the Google Drive connector, see Google Drive.
Configure the Google Drive - Get file metadata action
Important: Before inserting variables in the action configuration, you must manually type or select the values and populate other dependent fields in order to retrieve the output data. Once configured, you can insert variables to the required fields.
-
Open the action in the configuration panel. For more information, see Add an action. Drag the Google Drive - Get file metadata action to the designer canvas.
- Select a Connection. If you do not have a connection, see Add a connection on the Connections page. See the Google Drive connector page for details on creating a Google Drive connection.
- Select the Drive you want.
- Select a source type. The option presented is dependent on the source type selected:
- In File path, type the path of the file you want to retrieve the metadata of. You can also browse the folder structure using the browse icon (
).
- In File ID, type the ID of the file you want to retrieve the metadata of.
- In File path, type the path of the file you want to retrieve the metadata of. You can also browse the folder structure using the browse icon (
- Select or create a variable for the Result output.
Google Drive - Get file metadata action fields and settings
Section | Field | Description | Variable types |
---|---|---|---|
(unlabeled) | Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store. |
Google Drive connection that contains the file, whose metadata you want to retrieve. To refresh the available connections, click |
(n/a) |
Drive | Select the drive where the file is stored. | Text | |
Select a source type |
Select a source type which will be used to retrieve the file metadata.
|
Boolean | |
File path | The path of the file you want to retrieve the metadata of. You can also browse the folder structure using the browse icon (![]() |
Text | |
File ID | The ID of the file you want to retrieve the metadata of.
The file ID can be retrieved by using the Google Drive - Get file metadata action's ID output . |
||
Output |
Result |
Stores the result of the action in an object with the following variables:
|
Object |