For the complete documentation index, see llms.txt. This page is also available as Markdown.

Control Flow Brick Output

There are two behaviors to know about how output works in Control Flow bricks:

  1. The Control Flow brick outputs the value of the final brick it ran that has an Output Key

  2. The Output/Output Key of a brick within a Control Flow brick is only available to the subsequent bricks within the same branch/body. It is not available outside of the Control Flow brick or inside the other branches

If you need the Control Flow brick to output a brick other than the final brick, currently the best way to do so is using the jq - JSON Processor brick.

Provide the following inputs:

Input
Value

filter

.

data

@key of the data you want the Control Flow brick to ouput

Last updated

Was this helpful?