Contents

Relay Request

relay_request · Nodes · Iot

Sends a request through Verdalia Relay.

Relay Request#

Send a signed JSON request to a Verdalia Relay API path.

Configuration#

connection — Verdalia Relay connection: pick one, or write a template such as {{ input.connection_id }} that resolves to a connection id from input on each run. The node fails, naming the template and what it resolved to, when the input has no value for it, the value is not a connection id, no Verdalia Relay connection has that id, or that relay is offline.

method — GET, POST, PUT, PATCH, or DELETE. Default: POST.

path — Relay API path. Must start with /api/. A path that resolves to a computer-use route (/api/computer/…, in any spelling: //, ., .., \ or percent-encoding) is refused before anything is sent; agents reach computer use through the Relay computer-use tools.

query — Optional query parameters. Values support interpolation from input.

body — Optional JSON body. JSON payload supports interpolation and must parse after rendering.

Inputs#

input — JSON value used as interpolation context.

Output#

output

{
  "status": 200,
  "content_type": "application/json",
  "headers": {},
  "body": {}
}

The Relay client currently returns parsed JSON only, so status is fixed at 200 and headers are empty.

Inputs

  • inputRequired

Outputs

  • output

Configuration

FieldTypeRequiredDescription
connectionconnection(verdalia_relay)YesVerdalia Relay connection to use, or a template that resolves to a connection id from the node's input, such as {{ input.connection_id }}
methodenum(GET, POST, PUT, PATCH, DELETE)NoRelay API method
pathstringYesRelay API path. Must start with /api/
queryarray<record>NoOptional query parameters
bodytagged_unionNoOptional JSON request body
base_configrecordNoShared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow).