Description
Run the workflow when a file is created/modified/deleted in a watched directory.
trigger_file_watch · trigger · Triggers · Available · v1.0.0
Run the workflow when a file is created/modified/deleted in a watched directory.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
directoryCartella da monitorare | directory-picker | yes | — es. ./watch o /tmp/watch | Cartella nel sandbox del tenant. Path assoluti solo se in FLOWFORGE_FILE_ALLOWLIST. |
globPattern file (glob, opzionale) | string | no | — **/*.csv | Glob standard: ** = ricorsivo, *.ext = qualsiasi nome con estensione, file.txt = solo quello specifico. |
eventsEvents | enumaddchangeunlinkall | yes | all | add = file nuovo creato. change = file esistente modificato (write). unlink = file cancellato. all = tutti e 3 (default). Per ingest pipeline tipicamente serve solo "add" — il workflow gestisce un file una volta sola. |
debounceMsDebounce (ms) | number | no | 500 | Pausa minima tra eventi file consecutivi per evitare burst quando un file viene scritto in più passaggi (download multi-chunk, salvataggio temp+rename). Default 500ms. Se hai upload molto rapidi (< 500ms tra file separati) abbassa a 100-200ms. Hard cap engine 60000ms. |
JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-trigger_file_watch-1",
"defId": "trigger_file_watch",
"label": "File Watch",
"config": {
"directory": "es. ./watch o /tmp/watch",
"events": "all",
"debounceMs": 500
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes