Write File
Write text to a file in the sandbox on a trigger, creating its folders. Emits the file’s path inside the sandbox.
Fired. It runs when an event or a value lands on trigger, and pulls its other inputs at that moment.
Inputs
Section titled “Inputs”| Port | Type | Notes |
|---|---|---|
trigger |
event | Fires the node |
path |
text | Optional |
content |
text | Optional |
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
trigger |
event | |
path |
text |
Right-click a knob and pick Convert to input to drive it from a wire.
| Knob | Kind | Default | Notes |
|---|---|---|---|
path |
text | empty |
Example
Section titled “Example”Writes content to a file in user/data/files when trigger fires, making folders on the way, and emits the path it wrote. Wire a Template into path for a new file per day, for example digests/{date}.md with a Time node set to the 2026-06-08 format.
More in Files
Section titled “More in Files”- Append File: Append text to a file in the sandbox on a trigger, creating it if it is not there.
- Delete File: Delete a file in the sandbox on a trigger.
- List Dir: List the names in a folder of the sandbox, fresh each time a node reads it.
- Read File: Read a file’s text from the sandbox, fresh each time a node reads it.