parse_text · Version: 1 · Category: Data
Split text into lines and basic statistics. This node is not marked with the catalogue’s generic side-effect flag. That classification is not a guarantee that every configured operation is read-only; review the concrete action and its destination.
When to use this node
- Normalize a text file into a line array.
- Count lines or remove blank records before further processing.
Example: Prepare a line-oriented queue
Parse pasted or mapped text, trim it, and omit empty lines.Example settings
- Map content from Read File or another text-producing node.
- Choose whether surrounding whitespace and empty lines are meaningful.
- Use lines and lineCount in Condition or Code.
Configuration
Approved file input must be UTF-8 and defaults to a 10 MB limit. Mapped content is used directly.
Workflow JSON
The editor stores this node with the following implemented default configuration:Default node configuration
Inputs
Outputs
Execution behavior
- The output preserves normalized text and also provides lines, lineCount, and characterCount.
- Mapped content takes precedence over an optional file path.
- The editor catalogue declares
text(string),lines(array),lineCount(number) for mapping. The execution inspector can contain additional evidence fields; inspect a real result before selecting nested paths from object or any outputs.
Common issues
- Removing empty lines changes positional meaning in formats where blank lines are significant.
- Parsing creates structure; it does not interpret CSV quoting or JSON syntax.
Where it can run
- Desktop local runner
- Paired self-hosted runner
- Hosted runner