List Folders
List Google Drive folders with optional search, parent folder, and paging.
Type
google.drive.list_foldersListed only when a matching connected service is enabled.
List Folders returns folders from the connected Drive. Search uses Drive q syntax. Type a query in one line and insert context with {{ }}.
A folder id is the same kind of id as a file. Use it with:
- List Files, Create Folder, Upload File — contents and new items
- Get File — metadata
- Update File — rename
- Move File — nest under another folder
- Trash File — trash or permanently delete
- Share File and List Permissions
There is no separate rename-folder or delete-folder block.
Configure
| Setting | Description |
|---|---|
| Search query (optional) | Drive q. Liquid template |
| Parent folder ID (optional) | Limit to folders inside this folder |
| Page size | 1–1000. Default 20 if empty |
| Page token (optional) | nextPageToken from a previous list |
| Include trashed | Include folders in trash |
Pipe schema
| Key | Type | Description |
|---|---|---|
folders | list | Folder metadata (id, name, mimeType, links, parents, modifiedTime) |
nextPageToken | text | Pass to the next list |