Unitalk Drive Trigger icon

Unitalk Drive Trigger

Starts the workflow when Google Drive events occur via Unitalk

Unitalk Drive Trigger

AI-generated

Summary

Polls Google Drive for changes since the last execution and returns matching file objects, filtered by trigger scope, event type, and file type.

Inputs

  • triggerOn (required) — Scope of the trigger: specificFile or specificFolder.
  • event (required) — Event that triggers the workflow. Defaults to fileUpdated for specificFile, fileCreated for specificFolder.
  • fileToWatch (required) — File to watch for changes. Select by ID, URL, or from list.
  • folderToWatch (required) — Folder to watch for changes.
  • driveToWatch (required) — The Google Drive to monitor.
  • options.fileType (required) — Triggers only when the file is this Google Docs editor file type.
  • authentication (required) — Credential type for Unitalk Google Drive API.
  • pollTimes (required) — Poll frequency configuration. Modes: everyMinute, everyHour, everyDay, everyWeek, everyMonth, everyX (with unit and value), or custom cron expression.

Output shape

Array of Google Drive file objects (id, name, mimeType, webViewLink).

Returned on the main output connection. Updated after each poll; last execution time tracked via webhookData.lastTimeChecked.

Examples

Example 1: Trigger when a specific file is updated.

Set triggerOn to 'specificFile', select the file via fileToWatch, set event to 'fileUpdated'.

Links

Discussion