Skip to main content

API Response Node

The API Response Node is responsible for sending the final HTTP response back to the client. It marks the end of workflow execution.
Once this node runs, no further nodes are executed.
Every workflow that exposes an API must end with exactly one API Response Node.

What the API Response Node Does

The API Response Node is responsible for:
  • Defining the HTTP status code
  • Sending the final response to the client
  • Ending workflow execution
It acts like a res.send() or return Response() in traditional backend frameworks.
Response

Configuration Fields

Status

The Status field defines the HTTP status code returned to the client. You can select from standard HTTP response codes.

Common Status Codes


How Response Data Works

The API Response Node sends the final output of the workflow. The response body is typically constructed using:
  • Data from previous nodes
  • Logic or transformations
  • Database query results
Once this node executes:
  • The response is returned to the client
  • Workflow execution stops immediately

Example: Success Response

Configuration

Response Body

Example: Error Response

Configuration

Response Body