Action File System
Create Temp File
Creates a temporary file with optional content and extension, and returns its path. The file will be in the system temp directory.
Node IDTempFileCreatorAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
File Content content | textarea | No | — | Optional content to write to the temp file. Can be set by a data connection. If empty, creates an empty file. |
File Extension extension | string | No | tmp | The file extension for the temp file (e.g., "txt", "json", "dat"). Defaults to "tmp". |
Filename Prefix prefix | string | No | temp | A prefix for the temp filename. The full name will be prefix + random string + extension. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Triggers the temp file creation. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Success output0 | object | temp_file_info | Fires on success and contains the temp file path and metadata. |