Skip to main content
Folders

List Folders

List Folders

Lists the folders at a specific path in Google Drive.


Options

Google Drive account

Select the Connection action set up in the flow.

Drive (optional)

Enter the name of the drive to reach. Leave it empty to use "My Drive".

Folder path

Enter the path of the folder to list, for example /Documentos. Use / to list the drive root.

Returns

Javascript code

js
actions["action-id"].folders // list of folders found (List)

Field selection

  • folders — list of folders found. Each item holds id and name (List)

Rules and Conditions

  • The Google Drive account and Folder path fields are required.
  • Only folders are returned — to list files, use the List Files action.
  • Use / in the path to list the drive root.