StyloDocs
Workflow blocks

HTTP Response

Sends a structured HTTP reply (body, status, headers) back to the caller. Use as the final step of an API-triggered workflow.

View as Markdown

system/response — Sends a structured HTTP reply (body, status, headers) back to the caller. Use as the final step of an API-triggered workflow.

Where it appears

The HTTP Response block lives in the Logic & control group of the Workflow Builder.

Fields

FieldTypeRequiredDefaultDescription
datacodeYesJSON response body. Use <nodeId:Label.field> to inject values from previous nodes.
statustextNo200HTTP status code (default: 200)
headerscodeNoAdditional HTTP headers to include in the response

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <HTTP Response.field>.

NameTypeDescription
datajsonResponse body
statusnumberHTTP status code
headersjsonResponse headers
successbooleanWhether the response was formatted successfully
errorstringError message if formatting failed

Example

A minimal configuration for this block:

{
  "type": "system/response",
  "config": {
    "data": "...",
    "status": "200"
  }
}

Limits and failure modes

  • Required field (data) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page