Search Folders

Find a single folder within your Google Drive environment.

Input

Not all of the fields are mandatory. Most often the search will only contain the Name field. But if you want to limit the search to more specific folders, then use more inputs to limit the scope of the search.

Caution

This action only returns one folder result, even if more than one result would technically fit the inputs chosen.

Field Definition Type Required
Name Name of the folder String FALSE
Starred

True or False are the accepted inputs.

  • True: A folder that has a "Starred" label applied to it.
  • False: A folder does not have a "Starred" label applied to it.
Boolean FALSE
Trashed

True or False are the accepted inputs.

  • True: A folder that has been Trashed.
  • False: A folder that has not been Trashed.
Boolean FALSE
Parent Folder ID Unique ID of the parent folder String FALSE
Owners Names of the persons who own the folder List FALSE
Writers List of names of people who have edit access to the folder List FALSE
Readers List of names of people who have viewer access to the folder List FALSE
Note

If you don't select a search criteria or leave input fields empty, the search results will return the first folder in your Google Drive instance only.

Output

Field Definition Type
Folder Name Name of the folder, if found. String
Folder ID Unique ID of the folder, if found. String

Related topics

Google Drive connector

About the elements of Okta Workflows

G Suite API documentation