List the Files in a folder
List the Files in a folder
Lists the files in a specific folder of 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 whose files will be listed, for example /Documentos. Use / to list the drive root.
Returns
Javascript code
js
actions["action-id"].files // list of files found (List)
Field selection
- files — list of files found. Each item holds
id,nameandextension(List)
Rules and Conditions
- The Google Drive account and Folder path fields are required.
- Only files are returned — to list folders, use the List Folders action.
- Use
/in the path to list the drive root.