Skip to main content

Google Drive:List Files in Folder

Controlled node

Overview​

Find files in a Drive folder using date, name and type filters.

List the direct children of a Google Drive folder without downloading their contents. Use filters to find files your workflow should process.

Inputs​

InputTypeDescription
runEventTriggers this operation.
modifiedAfterTextOptional timestamp: return files modified strictly after this time, for example 2026-11-01T00:00:00Z.
createdAfterTextOptional timestamp: return files created strictly after this time.
nameContainsTextOptional name filter. Matches Google Drive’s name-search rules, not the file’s contents.
mimeTypeTextOptional exact MIME type, such as application/pdf.
includeFoldersBooleanInclude folder entries as well as files. Defaults to false.

Properties​

SettingTypeDescription
connectionConnectionSelect a Google Drive connection for this project.
folderFolderChoose a folder within the connection’s permitted area. If none is selected, the permitted folder is used.

Outputs​

OutputTypeDescription
filesDataArray of Google Drive metadata objects, or an object with error. Useful fields include id, name, mimeType, createdTime, modifiedTime, size and webViewLink where available.
doneEventFires when the node returns, including when it returns an error result. Check the data output before continuing.

Scope and limits​

The node lists one folder, not its whole directory tree. Trashed items are excluded. Filters are combined, so files must match every supplied filter.

At most 1,000 entries are returned, ordered by most recently modified first, then name. There is no continuation input. Narrow the filters or use smaller folders when you reach that limit.

These are Drive metadata objects, not library files. Download a file before passing it to a file-reading node. If includeFolders is enabled, exclude folder entries before downloading.

Example​

Select the connection and folder, set mimeType to application/pdf, and trigger run. After checking the result, pass files to For Each → object and done to its run. Extract each element.id with Get Value and supply it to Google Drive:Download File → fileId; use the loop’s loop event to trigger the download.

Project connections