Skip to content

WriteBytesNode

Purpose of the Node

The WriteBytesNode is designed to write bytes to a file on the file system. It takes an input path and content to write, and then executes the write operation. If the operation fails, it triggers a “Failed” execution pin; otherwise, it triggers an “Output” execution pin.

Pins

  • Path: The flow path where the bytes will be written. This pin is required for the node to know where to store the content.
  • Content: The actual content to write as bytes. This pin accepts an array of bytes.
  • Output: Triggered when the write operation is successfully completed.
  • Failed: Triggered if the write operation fails.
Pin NamePin DescriptionPin TypeValue Type
PathThe flow path where the bytes will be writtenStructFlowPath
ContentThe content to write as bytesByteArray
OutputTriggered when the write operation is successfully completedExecution-
FailedTriggered if the write operation failsExecution-