Close one active connected WebSocket reference exactly once with a valid bounded close code and reason.
When to use
Close one active connected WebSocket reference exactly once with a valid bounded close code and reason.
Connectors
Inputs
| Connector | Type | Required |
|---|---|---|
WebSocket | text | Yes |
Close code | number | Yes |
Reason | text | No |
Outputs
| Connector | Type |
|---|---|
Closed | boolean |
Settings
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 |
|---|---|---|---|---|
code | Close code | number | 1000 | 1000–4999 |
Behavior and boundaries
After local validation, this official package uses built-in WebSocket support to close the connection from a successful Connect block in the same workflow run and release it. Connection timeouts, message sizes, close, and cleanup are bounded.
Text, lists, responses, downloads, retries, and waits have fixed size or time limits. Redirects and web addresses are checked again. Secrets and local file paths never appear in workflow output.
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 |
|---|---|---|---|---|
code | Close code | number | 1000 | — |
Recovering from errors
Correct the highlighted connector or setting. Reconnect credentials, files, sockets, requests, or responses from an earlier successful block in the same run. Check the URL and external service, approve any confirmation prompt, and try again. If the same valid input fails again, update Nodestly and this official add-on.
