File to Text
Read a workspace text file and put the contents on the pipe.
Type
utl.file-to-textFolder
basic/utilityChannels
Any
Pipe
Value
Scope
Any
File to Text reads a workspace file and puts the UTF-8 text on the pipe. It works as a workflow block and as an assistant tool. Supported types are text, JSON, CSV, XML, and matching file names (.txt, .md, .log, and so on). Binary files such as PDF or images are not converted here.
Configure
| Setting | Description |
|---|---|
| File | Workspace file id, literal or variable (required) |
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues with extracted text on the pipe |
Pipe schema
The next block receives a string — the file contents.
Use case
- Read a text or JSON file from Get File and pass it to Execute JS.