Skip to main content

End Node (type = "end")

Declares the workflow outputs.

Schema

  • See: EndNode.json
  • Key fields:
    • data.inputs: constraints on inputs accepted by this node (commonly result)
    • data.inputsValues: input sources (ref / constant / expression, etc.)

Example

Output the Start node’s query as End’s result:

{
"nodes": [
{
"id": "start_0",
"type": "start",
"data": {
"outputs": {
"type": "object",
"properties": { "query": { "type": "string" } }
}
}
},
{
"id": "end_0",
"type": "end",
"data": {
"title": "End",
"inputs": {
"type": "object",
"properties": { "result": { "type": "string" } }
},
"inputsValues": {
"result": { "type": "ref", "content": ["start_0", "query"] }
}
}
}
],
"edges": [{ "sourceNodeID": "start_0", "targetNodeID": "end_0" }]
}