Read workspace text
FilesConfigured target required
file.read-textRead bounded text from the Yotta-managed workflow file workspace.
Example use
Read names.txt from workflow files, split it on newlines and process each line.
Node preview
Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.
Loading node preview…
Data inputs 1
- Relative path
pathString File path relative to the managed workflow workspace.
RequiredDefault:None
Configuration 2
- Text encoding
encodingChoice Decode as UTF-8, GBK, or detect UTF-8 before falling back to GBK.
OptionalDefault:"auto"- Options: "auto", "utf-8", "gbk"
- Maximum bytes
maxBytesInteger Reject the file before reading when it exceeds this bounded byte budget.
OptionalDefault:1048576- Minimum: 1
- Maximum: 1048576
Data outputs 2
- Text
textString Decoded file text.
- File metadata
metadataFile metadata Canonical metadata for the file.
Value format examples
{"extension":"","isDirectory":false,"mediaType":"application/octet-stream","modifiedUnixMillis":0,"name":".","path":".","size":0}
Control and error ports
- Input
inInput · Control - An incoming control signal enters this operation.
- Completed
completedOutput · Control - Continue from this result or stage; see the node description for branch conditions.
- Failed
failedOutput · Error - Emitted when the operation fails; connect error handling here.
Version and node identity
Version 1.0.0
sha256:89d428785cb83534205ab21d36d7b8f9d4bf65846e596633b7f5ce5fa029f862