Use the Variable Aggregator node to converge exclusive workflow branches into a single output, so you only need to define downstream processing once. Nodes like If/Else and Question Classifier create exclusive branches—only one path executes per run. When these branches produce the same type of output, you would normally duplicate downstream nodes on every branch. The Variable Aggregator eliminates this duplication. It provides a single output variable for downstream nodes to reference, regardless of which branch ran.Documentation Index
Fetch the complete documentation index at: https://docs.dify.ai/llms.txt
Use this file to discover all available pages before exploring further.


Select the Variables to Converge
From each branch, add variables that need the same downstream processing. All variables must share the same data type. Supported types:string, number, object, boolean, array, file.
The node outputs whichever variable has a value at runtime. Since only one branch executes, only one variable will have a value, and that value becomes the node’s output.