Skip to main content

Google Drive

Lists and downloads files from a Google Drive folder on demand.

Overview

The Google Drive action node retrieves all files from a specified Google Drive folder. Unlike the Google Drive Trigger which polls for changes over time, this node fetches files once as part of a workflow execution.

Use it to:

  • Process all existing files in a folder
  • List files for filtering and selective processing
  • Retrieve files on demand (not as an automated trigger)

Parameters

ParameterDescriptionRequired
CredentialGoogle account with Drive accessYes
Folder URLGoogle Drive folder URLYes

Folder URL

The URL of the Google Drive folder to list files from. Supports expressions for dynamic folder selection:

{{$item.data.folderUrl}}

Settings

SettingDescription
Execution ModeOnce per item (default) or Once
Output ModeHow to output results when running once
Batch SizeItems to process concurrently (default 5)
Stop on ErrorStop workflow on failure

Output

One item per file found in the folder:

{
"file": {
"type": "fileData",
"name": "document.pdf",
"mimeType": "application/pdf",
"fileInfo": {
"type": "googleDrive",
"credentialId": "...",
"fileUrl": "https://drive.google.com/file/d/..."
}
}
}

Access file properties in expressions:

  • File object: {{$item.data.file}}
  • File name: {{$item.data.file.name}}
  • MIME type: {{$item.data.file.mimeType}}

Examples

Process All Files in a Folder

[Manual Trigger] → [Google Drive (folder)] → [Data Extractor] → [Insert Rows]

List and Filter Files

Only process PDFs from the folder:

[Google Drive (folder)] → [Filter (file.mimeType = "application/pdf")] → [Data Extractor]

Process Files from Multiple Folders

[Get Table (folder URLs)] → [Google Drive] → [Data Extractor] → [Insert Rows]

Use an expression for the Folder URL parameter to process files from different folders.

Authentication

This node requires a connected Google account with access to the specified folder. Configure credentials in your workspace settings.

Tips

  • Returns files only — subfolders are not included
  • Not recursive — only lists files directly in the specified folder
  • Use the Google Drive Trigger for continuous monitoring; use this node for one-time retrieval
  • The Folder URL supports expressions for dynamic folder selection
  • Each file in the folder becomes a separate output item