Unitalk Microsoft OneDrive Trigger
AI-generatedSummary
Poll Microsoft OneDrive for specific file or folder events (creation or update) at user-configured intervals, optionally filtering by entire drive, selected folders, or specific files, and return details about these changes.
Inputs
- Poll Times (required) — Specify one or more polling schedules using predefined intervals (e.g., every minute, every day) or custom cron expressions to determine when the trigger checks for changes.
- Trigger On (required) — Choose the event type to trigger on: file created, file updated, folder created, or folder updated.
- Simplify — Choose whether to return simplified event data (e.g., id, name, timestamps) or the full raw data from OneDrive.
- Watch Folder — For creation events, enable this to restrict watching to new items within a specified folder instead of the entire OneDrive.
- Watch — For update events, select the scope: any file/folder in drive, files/folders inside a given folder, or a specific file/folder.
- File or Folder — Specify the file or folder to watch by ID or URL when watching a specific file or folder (depending on event and watch options).
- Options — For folder watches, optionally include whether to watch nested folders beyond direct descendants.
Output shape
a list of event objects representing files or folders matching the trigger criteria.
Output includes either raw API response objects or simplified data based on user preference. The trigger polls OneDrive delta API to detect changes since last check, using stored delta links for efficient incremental detection. If no matching events are found, it returns null.