Terminator
The Terminator Block will end a Flow as soon as it has edge data on all incoming edges.
If you want to stop execution without actually stopping the Flow, you should use the Sinkhole Block.
Send data in response
If the Flow is launched via the API (as opposed to the editor) and you want to return the data arriving at the Terminator, then you should check the Send data in response box.
If the Terminator has multiple incoming edges, each edge will be represented in the response as shown below.
{
"data0": "OK",
"data1": [
{
hubspot_id: '125005142222'
},
{
hubspot_id: '125005142215'
}
]
}
terminate
At least one Terminator should be in a Flow