File Watch

trigger_file_watch · trigger · Triggers · Available · v1.0.0

Description

Run the workflow when a file is created/modified/deleted in a watched directory.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
directory
Cartella da monitorare
directory-pickeryes
es. ./watch o /tmp/watch
Cartella nel sandbox del tenant. Path assoluti solo se in FLOWFORGE_FILE_ALLOWLIST.
glob
Pattern file (glob, opzionale)
stringno
**/*.csv
Glob standard: ** = ricorsivo, *.ext = qualsiasi nome con estensione, file.txt = solo quello specifico.
events
Events
enum
addchangeunlinkall
yesalladd = 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.
debounceMs
Debounce (ms)
numberno500Pausa 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.

💡 Configuration example

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
  }
}

🔗 Related nodes in the same category

Ready to use File Watch?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes