Ask the user for bounded plain text and continue with explicit submitted and cancelled outputs.
Behavior
The block resolves one bounded text prompt, opens the workflow runner's built-in dialog directly, and returns one explicit Submit, Cancel, or Close outcome.
Input connectors and precedence
| ID | Meaning | Resolution and limits |
|---|---|---|
message | Prompt text | Connected value first, then message setting (Enter a value by default). Required; at most 8,192 UTF-8 bytes; bounded multiline text. An explicitly connected empty value is invalid. |
title | Dialog title | Connected value first, then title setting (Workflow input by default). May be empty; at most 160 UTF-8 bytes; single line. |
defaultValue | Initial response | A non-empty connected value first, then defaultValue, then legacy inputDefault, then empty text. At most 32,768 UTF-8 bytes. This connector deliberately treats empty as “use the configured fallback” for saved-workflow compatibility. |
buttons | Legacy custom buttons | Retained only to load saved workflows. Empty is accepted; any non-empty value fails closed. |
inputOptions | Legacy option list | Retained only to load saved workflows. Empty is accepted; any non-empty value fails closed. |
formDefinition | Legacy multi-field form | Retained only to load saved workflows. Empty is accepted; any non-empty or migration-sentinel value fails closed. |
Settings
| ID | Default | Behavior and limit |
|---|---|---|
title | Workflow input | Fallback for title; 160 UTF-8 bytes, single line. |
message | Enter a value | Fallback for message; required, 8,192 UTF-8 bytes, multiline. |
defaultValue | empty | Current default-response fallback; 32,768 UTF-8 bytes. |
inputDefault | empty | Legacy fallback used only when current defaultValue is empty. |
inputLabel | Value | Prompt label; empty normalizes to Value; 160 UTF-8 bytes. |
inputPlaceholder | empty | Optional single-line placeholder; 512 UTF-8 bytes. |
inputHint | empty | Optional multiline hint; 1,024 UTF-8 bytes. |
buttons, inputOptions, requiredText, formDefinition | empty | Compatibility-only settings. Any meaningful value fails closed because Show Input Dialog cannot safely reproduce those legacy behaviors. |
Hidden legacy inputRequired or enforceOptions state also fails closed. A retained legacy inputType must be text; the optional retained mode must be info, warning, error, or success. Do not remove these compatibility aliases from saved workflows; rebuild unsupported legacy behavior with explicit current blocks.
Outputs
| ID | Meaning |
|---|---|
action | Exactly submit, cancel, or close. |
value | Bounded returned text after Submit; otherwise null. |
form | Always null; retained as a saved-workflow compatibility output. |
submitted | true only for Submit. |
cancelled | Always the inverse of submitted; Close therefore also returns cancelled: true. |
ok | Compatibility alias equal to submitted. |
close | true only when the window-close action was used. |
fire | true after every normal Submit, Cancel, or Close outcome. |
Common uses
Search for this block with: input, prompt, dialog.
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 |
|---|---|---|---|---|
title | Title | text | Workflow input | — |
message | Message | textarea | Enter a value | — |
defaultValue | Default value | text | Empty text | — |
inputDefault | inputDefault | text | Empty text | — |
buttons | Legacy buttons | text | Empty text | — |
inputLabel | inputLabel | text | Value | — |
inputPlaceholder | inputPlaceholder | text | Empty text | — |
inputHint | inputHint | text | Empty text | — |
inputOptions | Legacy input options | text | Empty text | — |
requiredText | requiredText | text | Empty text | — |
formDefinition | Legacy form definition | textarea | Empty text | — |
Errors and limits
Invalid Unicode, control characters, over-limit text, and unsupported saved behavior stop the workflow before UI opens and highlight this block. Submit, Cancel, and Close are normal outcomes; an unavailable dialog, a dialog failure, an unsupported action, or an invalid returned value is an execution error with a stable managed code and recovery guidance. The block emits no partial outputs and does not send Fire on failure. Correct the highlighted input or setting, rebuild unsupported saved behavior with current blocks, make sure your operating system allows Nodestly to show dialogs, and run the workflow again. If the same valid inputs still fail, update Nodestly and the Starter package, restart Nodestly, and retry.
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 | message — Message | text | no |
| Input | title — Title | text | no |
| Input | defaultValue — Default value | text | no |
| Input | buttons — Legacy buttons | text | no |
| Input | inputOptions — Legacy input options | text | no |
| Input | formDefinition — Legacy form definition | text | no |
| Output | action — Action | text | on success |
| Output | value — Value | any | on success |
| Output | form — Form | any | on success |
| Output | submitted — Submitted | boolean | on success |
| Output | cancelled — Cancelled | boolean | on success |
| Output | ok — OK | boolean | on success |
| Output | close — Close | boolean | on success |
