Skip to content

Read to String

Purpose of the Node

The Read to String node reads the content of a specified file and outputs it as a string. This node is useful for processing text files or extracting data stored in a file into a string format for further manipulation or analysis.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartInitiates the execution of the node.ExecutionN/A
PathThe flow path specifying the location of the file to read.StructFlowPath
ContentOutputs the content of the file as a string.StringN/A
FailedTriggers if the file reading process fails.ExecutionN/A
EndIndicates that the execution has completed successfully.ExecutionN/A

Notes:

  • The Path pin uses the FlowPath struct, which defines the file path for the node to read from.
  • The Content pin outputs the content of the file as a string.
  • The Failed pin triggers if any errors occur during the file reading process.
  • The Start and End pins represent the start and end of the node’s execution, respectively.