Flow Callback node
The Flow Callback node interrupts the current flow and sends a response back to the client. This allows external systems or clients to interact with the flow asynchronously. Execution can be resumed later by calling the flow again and providing the Flow Session ID in the request header, so the flow continues from the same point.
This node is available in: API, Custom, User Defined
Node configurations
-
Body: Define the HTTP response body returned by the node. The value you configure (JSON or plain text) is returned to the client as the response body.
-
Status: Define the HTTP status code returned in the response.
-
API Headers: Define custom HTTP headers to include in the response. These headers are returned together with the response body and status code. Each header is added as a row in the UI's repeatable header list, and its value can reference a
{{variable}}that resolves at runtime. -
Cookie Configurations: Include Set-Cookie headers in the response. You can create, modify, or expire cookies that will be sent to the client. Each cookie is configured as an entry in the UI's repeatable cookie list, with values that can reference a
{{variable}}resolved at runtime. -
Save in the Flow store: Attributes generated or retrieved from the node can be saved into a variable and reused by other nodes in the flow. See Common Configurations for details.
Default output node
- Success
- Failure
JSON metadata
{
"name": "callback",
"active": true,
"bundleName": "default-nodes",
"bundleVersion": "1.0",
"category": "flow_nodes",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Flow - Callback"
}, {
"lang": "it",
"value": "Flow - Callback"
}
],
"flowCategory": [
"custom",
"api"
],
"flowType": [
"library"
],
"nodeName": "Callback",
"index": 6,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "Failure",
"level": "error"
}
]
}