This action retrieves a list of files and folders stored in the top level folder of Google Drive.
How to use
Select the "Google Drive" connector when adding steps to the flow.
Select "List files in root folder" from the "Actions" menu.
step is added.
There are no parameters to specify for this action.
Specify the "body" of the dynamic content in "Select output from previous steps."
This will cause the action specified in "Apply to each" to be repeated for all files and directories stored in the folder.
Retrieve hierarchies lower than the top level
The information retrieved with this action is limited to the top level files and folders, and does not display anything lower in the hierarchy.
|Center||is equal to|
Then put "List files in folder" in "If yes".
Specify the "Id" of the dynamic content for the "Folder id".
This allows you to repeat folders and files one level down.
Typical items used in subsequent steps are as follows.
Additional information about the target file can be obtained.
|Id||Text||Identifier of the file/folder.|
|Name||Text||File and folder names.|
It is difficult to use as is, so string manipulation is often required.
|MediaType||Text||MINE type of file.|
|LastModifiedBy||Text||User name of the last updater.|
|Size||Number||The number of bytes in the file.|
If you need the file content, which is the content of the file, use the "Get file content using Id" action to get it.