Google Drive Trigger

Trigger a workflow when a watched Google Drive file or folder changes, using Drive's files.watch push notifications.

The trigger authenticates through a Google connection. Connect a Google account once and pick it in the node's settings.

When to Use

Use Google Drive Trigger when:

  • A file shared with your team is updated and downstream steps should react (reindex, notify, archive)
  • You want an event-driven alternative to polling a Drive folder

Connection

Google Account — required. Pick a Google connection from the Connections page.

Output

HandleTypeDescription
payloadobjectNormalized Drive change event

The payload (accessed as {{ google_drive.* }}) shape:

FieldTypeDescription
typestringEvent type (e.g. update, change)
file_idstringID of the file or folder that changed
resource_statestringDrive resource state reported by the notification

Settings

Target

SettingTypeDefaultDescription
file_idstring—Required. Google Drive file or folder ID to watch. Supports {{ }} bindings.

Events

SettingTypeDefaultDescription
event_typesmulti-selectupdate, changeResource states that start a run.

Testing

SettingTypeDefaultDescription
mockPayloadcode editor (JSON)sample change eventJSON payload injected for local test runs instead of a real Drive notification.

Example

Post to Slack whenever a shared spec document changes:

Google Drive Trigger → Slack Send Message

Google Drive Trigger settings:

  • File or Folder ID: 1AbC... (the spec doc)

Slack Send Message settings:

  • Channel: #spec-updates
  • Text: Spec doc {{ google_drive.file_id }} was updated ({{ google_drive.resource_state }}).

See Also

On this page