The Trim Fields block for Nodestly workflows removes extra whitespace from fields.
Use it when
Trim leading and trailing whitespace from selected text columns or every text column in a table.
Inputs and outputs
- Table —
table, required. - Columns —
list, optional. - Table — output
table.
Controls
This object has no hidden settings; behavior is fully determined by connected input.
Rules
Without Columns, every text column is trimmed. With Columns, each selected column must exist and be text. Missing optional cells stay missing; non-selected cells and schema metadata are copied unchanged. Generic valid URL cells may include ws and wss. URL-backed image or binary references and HTTP-response URLs remain HTTP(S)-only. Malformed URLs, unsupported subtype schemes, embedded credentials, or mismatched URL metadata stop the workflow instead of being copied.
Example
Values " Ada " and " NL " become "Ada" and "NL" in selected text columns.
Failure behavior
Missing inputs, wrong connector values, unsafe records, unsupported values, cycles, unsupported modes, and size-limit violations stop the workflow and mark this block. Correct the highlighted connector or setting, then run again. Inputs are never changed.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | table — Table | table | yes |
| Input | columns — Columns | list | no |
| Output | result — Table | table | on success |
