Start a saved workflow for an incoming request on a configured HTTP route.
Inputs and outputs
Inputs
| Connector | Type | Required |
|---|---|---|
Registration Name | text | Yes |
Filter | record | Yes |
Expires In Milliseconds | number | No |
Outputs
| Connector | Type |
|---|---|
Registration | record |
Triggered | boolean |
Payload | any |
Inbound Request | text |
Filter settings
Connect Filter as one plain record. Unknown fields are rejected.
| Setting | Type | Required | Meaning |
|---|---|---|---|
host | text | No | Listener host; defaults to 127.0.0.1. |
port | integer | Yes | 0-65535. Port 0 selects a free port for local testing. |
route | text | Yes | Absolute path such as /orders, without query or fragment. |
method | text | No | GET, POST, PUT, PATCH, or DELETE; defaults to POST. |
What the block does
On the first valid execution, Nodestly saves the webhook and starts listening at the configured address. A matching request starts the same saved workflow. The setup run returns Triggered=false and Payload=null; it does not return Inbound Request. When a request arrives, the new run returns Triggered=true, the received Payload, and an Inbound Request text value that can be connected directly to HTTP Response.
Connect Inbound Request directly to N028 HTTP Response when the workflow must control the status, headers, and body returned to the caller. Nodestly keeps that client request open while the workflow runs. If a successful workflow sends no explicit response, Nodestly returns the default 202 {"accepted":true} response. Listening stops cleanly when the webhook is disabled or Nodestly closes.
Errors and recovery
Missing inputs, unknown Filter fields, an invalid host, port, route, or method, and an address already in use each stop the block with a clear correction. A request for a different route or method receives 404. Invalid JSON or a body larger than 1 MiB receives 400. If the triggered workflow fails before sending a response, the caller receives 500; if the webhook becomes unavailable while handling the request, it receives 503. If a correctly connected current Inbound Request cannot be used, update Nodestly and this official add-on, restart the app, and send a new request.
If every documented connector and setting is correct but the block reports an invalid result, update Nodestly and this official add-on, restart Nodestly, and try again. If it still fails, report the highlighted block as a product defect.
Example workflow
Connect a filter Record with host set to 127.0.0.1, port to 8787, route to /orders and method to POST. On a request, connect the Inbound Request output to HTTP Response to reply to that client. Connect triggered to a Boolean branch. Registration returns false with a null payload. A matching delivery starts a new run with triggered true.
Read the receipt
After registration, registration contains registrationId, status ('active') and expiresAtEpochMs (expiry in milliseconds since the Unix epoch). On that run, triggered is false and payload is null. When a delivered event starts a later run, triggered is true and the next block reads the event from payload. The registration output for that run contains consumed: true and the same payload.
