OneDrive Trigger

Trigger workflows when files are created or updated in OneDrive.

Overview

Start a workflow when files are created or updated in a OneDrive. The trigger polls the watched folder on a schedule and emits one workflow run per new or changed file.

Configuration

  • Connection — a OneDrive credential (OAuth or App-Only)
  • User — App-Only only: whose OneDrive to watch (UPN or ID)
  • Folder Path — folder to watch, relative to the OneDrive root (no “Documents” prefix); blank watches the root
  • Filters — restrict by file type(s) and/or a name substring

Trigger Data

  • {{$trigger.file.file_name}} — file name
  • {{$trigger.file.file_url}} — file URL
  • {{$trigger.file.file_id}} — file ID
  • {{$trigger.file.modified_date}} — last modified timestamp

Pair with the OneDrive Get File action to pull the file's text for downstream processing.