String Input¶
String Input is a simple starting point for text-based flows. It accepts typed or incoming text, cleans and validates it, and can pass the content onward as plain text or a Document.
- Category: Text Processing
- Purpose: Accepts text, cleans it, validates it, and reports statistics
- Inputs:
input_data- Text from a connected nodetext_input- Text typed into the field- Outputs:
output- Trimmed texttext_stats- Character, line, word, and paragraph countsvalidation_status- Validation result and warningsdocuments- The text wrapped as a Document, ready for a splitter or vector store- Configuration:
- Text Input: Multi-line field, eight rows, up to 10000 characters
- Usage: The field takes priority over the connection. If text is left in the field, incoming data is ignored — a common cause of a workflow that always returns the same result.