File List (Simple JSON Array)
AI-generatedSummary
Recursively lists files under the selected Google Drive folder and returns a flat array of file records with parent folder IDs. Choose a folder from the list or enter its ID; optionally include folders, filter by MIME type or custom property, and select metadata fields and properties to return.
Inputs
- Folder (required) — Select a folder or enter its ID; defaults to My Drive (root). The operation traverses its subfolders recursively.
- Include Folders — Defaults to false. When enabled, folder records are included along with files.
- Filters — Optionally filter by selected MIME types and by one or more custom or app property key/value matches. Property filters are combined so every configured filter must match.
- Options — Choose metadata fields to request, custom properties to include (public, app, both, or none), and whether to include permissions. The output always contains id, name, mimeType, and parents; the selected fields do not change the fields emitted in each file-list record. A Query String is available in the UI, but the implementation does not apply it.
- Output as Separate Items — Defaults to false. When enabled, emits each record as a separate n8n item; otherwise emits one item containing the array.
Output shape
One n8n item containing an array of file records by default, or one n8n item per record when Output as Separate Items is enabled.
Each record contains id, name, mimeType, and parents (an array of parent folder IDs, or empty if absent). Depending on Options and available Drive metadata, records may also include properties, appProperties, and permissions. The traversal fetches all pages and descends recursively; sorting is not applied to the returned list.