Google Drive List Files

View as Markdown

The List Files node looks inside a Google Drive folder and hands back the files and folders it finds, with optional filters on name, type, and date. It is the starting point for any workflow that needs to work through the contents of a folder.

When to use it

  • You want to find the files in a folder before downloading or processing them.
  • You need only files that match a pattern, a file type, or a date window.
  • You want to loop over the results and act on each file in turn.

Inputs

FieldWhat it’s forExample
FolderThe Drive folder to look inside. Leave blank to use your main Drive.Monthly Reports
Name containsOnly return files whose name includes this text.renewal
File typeOnly return files of this type.CSV
Modified afterOnly return files changed after this date and time.2026-01-01
Modified beforeOnly return files changed before this date and time.2026-02-01
Include foldersWhether to include subfolders in the results.false
Sort byWhich field to order the results on, such as name or last modified.Last modified
Page sizeHow many entries to return, from 1 to 1000 (default 100).25

Any field can be a fixed value or an expression that reads from an earlier step.

Outputs

FieldWhat you get back
EntriesThe files and folders found, each with its name, id, file type, size, and last-modified time.
CountHow many entries were returned.
More availableA flag that is true when more matches exist than were returned.

Example

Chen Insurance Group keeps a Drive folder of daily carrier reports. A workflow runs each morning, uses List Files to find the CSV reports in that folder sorted by newest first, then loops over the results with a For Each step to download and process each one.

The Google Drive List Files node configuration panel, showing the folder, filters, and sort order.

A single listing returns at most 1000 entries. If the “more available” flag comes back true, there were more matches than fit in one page - narrow the filter (by name, type, or date) and list again to be sure you catch everything.