Skip to main content
googleDrive.onFileMoved starts an automation when a file moves on the selected Drive resource.

Example

Options

resource accepts a file, folder, or shared-drive ID or a standard Drive, Docs, or Slides URL. Set resourceType: "drive" for a shared-drive ID or a shared-drive URL copied from Google Drive; only URLs containing /drives/ identify shared drives automatically. includeDescendants includes nested files for folders and is always enabled for shared drives. account optionally selects a Google Account.

Trigger data

Returns the semantic eventType, action, resourceType, provider eventId, and occurredAt. Resource-specific fields can include fileId, resourceId, resourceIds, parent IDs, MIME type, version, status, due time, and participant email addresses. Deleted resources can contain only identifiers.