Google Drive Trigger

Trigger workflows when a file is created or updated in Google Drive.

Overview

The Google Drive trigger starts a workflow when a file is created or updated in a watched folder — drop a document in, and the workflow picks it up. Pair it with the Google Drive action node to download the file's contents for processing.

Configuration

  • Credential — the Google Drive OAuth2 credential whose Drive to watch
  • Folder — the folder to watch (defaults to the whole Drive)
  • EventfileCreated (new files only) or fileUpdated (new or modified)
  • Filters (optional) — file type and name-contains matching

Output variables

  • {{$json.file.id}}, {{$json.file.name}}, {{$json.file.mimeType}}
  • {{$json.file.webViewLink}}, {{$json.file.modifiedTime}}