pCloud Trigger
AI-generatedSummary
Polls for changes in pCloud based on the specified criteria.
Inputs
- pollTimes — Time at which polling should occur, allowing configurations for every minute, hour, day, week, or a custom setting.
- event (required) — The type of event to trigger the workflow, such as file or folder creation, modification, or deletion.
- folderPath (required) — The folder to monitor for changes.
- recursive — Whether to monitor subfolders as well.
- fileNameFilter — Optional filter for file names using wildcards.
- pollInterval — Frequency, in minutes, at which to check for changes.
- options — Additional options for the polling behavior, such as ignoring hidden files and setting a maximum number of returned items.
Output shape
a list of items indicating the changes detected
Returns an array of changes detected in the specified folder, based on the event type. Each item contains event details such as the item's ID, name, path, and whether it is a folder.
Examples
Example 1: Monitor a specific folder for newly created files.
Set event to 'File Created', specify the folder path, and set the poll interval.