Description
Write content to a file in an allowlisted directory.
action_file_write · action · Files & Documents · Available · v1.1.0
Write content to a file in an allowlisted directory.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pathFile di destinazione | file-picker | yes | — es. output.json (relativo) o /tmp/log.txt | Path nel sandbox del tenant. La cartella viene creata se non esiste. |
contentContenuto | string (multiline) | no | — | Testo o JSON.stringify(...). Supporta {{espressioni}}. Lascialo VUOTO per scrivere un file binario: se a monte arriva un handle BinaryData (es. da Read File con output binario, o un nodo PDF), ne vengono scritti i byte reali (no conversione a stringa). Content esplicito ha precedenza. |
modeModalità scrittura | enumoverwriteappend | no | overwrite | overwrite = sovrascrive. append = aggiunge in coda. |
JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-action_file_write-1",
"defId": "action_file_write",
"label": "Write File",
"config": {
"path": "es. output.json (relativo) o /tmp/log.txt",
"mode": "overwrite"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes