response node sends an HTTP response to the client and terminates the flow. Every HTTP-triggered flow should have at least one response node.
Configuration
Config Fields
Default Status Codes
Ifstatus is not specified, it defaults based on the request method:
Output
The response node stores its output in context:Behavior
When a response node executes:- The response is sent to the client
- The flow is marked as done
- No subsequent nodes execute (except
finallyblocks intrynodes)
Examples
Success Response
Created Response (POST)
No Content Response (DELETE)
Error Response
With Custom Headers
Paginated Response
Transformed Response
Multiple Response Nodes
Flows often have multiple response nodes for different outcomes:Common Status Codes
vs Abort Node
Use
response for normal responses (success or handled errors). Use abort to immediately stop on unexpected errors.
Related
- Abort Node - Stop flow with error
- Transform Node - Prepare response data
- Condition Node - Branch to different responses