Skip to content

Google Drive List

List files and folders in Google Drive with optional filters. Supports pagination for large result sets.

Requires a Google Drive connection.

Configuration

FieldDescriptionNotes
Google Drive ConnectionThe connection to useRequired
Folder IDThe ID of the folder to listSupports templates. Leave empty to list root.
Search QueryGoogle Drive search querySupports templates. Example: name contains 'report'
File TypeFilter by file typeOptions: Any, Google Docs, Google Sheets, PDF, Folder, Image
Max ResultsMaximum number of files to returnDefault: 100
Include TrashedInclude trashed filesDefault: off

Output

Each item in the output contains:

FieldExampleDescription
id1BxiMVs0XRA5nFMd...Google Drive file ID
namereport-2026.pdfFile name
mimeTypeapplication/pdfMIME type
size24576File size in bytes
modifiedTime2026-03-30T10:00:00.000ZLast modified timestamp
webViewLinkhttps://drive.google.com/file/d/.../viewLink to view in browser
parents["0B..."]Parent folder IDs

TIP

The id field from the list output can be passed directly to the Google Drive Download or Google Drive Delete nodes using template syntax.

Search Query Syntax

Google Drive uses a query language for filtering. Common examples:

QueryDescription
name contains 'report'Files with "report" in the name
name = 'data.csv'Exact file name match
modifiedTime > '2026-01-01'Files modified after a date
mimeType = 'application/pdf'Only PDF files

See the Google Drive search query documentation for the full syntax reference.