The Mask Sensitive Data block for Nodestly workflows hides or obfuscates sensitive values.
Use it when
Mask bounded text while optionally revealing a controlled number of characters at one end.
Inputs and outputs
- Text —
text, required. - Visible characters —
number, optional. - Mask character —
text, optional. - Masked text — output
text.
Controls
- Reveal — default
end; choices:end,start,none.
Rules
Text is limited to 65,536 characters. Visible characters is 0-1,024 Unicode code points and Mask character exactly one Unicode character. Reveal End, Start, or Nothing never changes the input and does not claim cryptographic anonymization.
Example
NL91BANK0123456789 with four visible characters at End becomes fourteen masks followed by 6789.
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.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
reveal | Reveal | toggle | end | options: End (end), Start (start), Nothing (none) |
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 | text — Text | text | yes |
| Input | visibleCharacters — Visible characters | number | no |
| Input | maskCharacter — Mask character | text | no |
| Output | result — Masked text | text | on success |
