Each new or changed file in folder
Wait for files (or folders) to appear, change, go or be renamed in a folder and run the nested steps once for each; gives the change, path, name, size and time (UTC, like every DateTime).
Loop type in the Trigger Loop toolkit · id ooa.triggerloop/file_arrives · 10 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Folder | File | Yes | Folder to watch. | |
| Pattern | String | No | * | Glob for file names, e.g. *.pdf. |
| Include existing | Boolean | No | false | Also handle files already in the folder when the loop starts. |
| Settle (seconds) | Number | No | 1 | Wait until a file has not changed for this long, so half-copied files are skipped until complete. |
| Poll (seconds) | Number | No | 1 | How often to check, in seconds. |
| Maximum events | Number | No | 0 | Stop after this many events; 0 = no limit. |
| Maximum (seconds) | Number | No | 0 | Stop waiting after this many seconds in total; 0 = no limit (until the run is stopped or an Exit loop step runs). |
| Event | String | No | created | Which change starts the steps: a file that appears (created), changes, goes, is renamed, or any of these. |
| Watch | String | No | files | Watch files, folders, or both. |
| Include subfolders | Boolean | No | false | Also watch everything in the folders under it. |