If you are running a Custom Function, or LLM Chain, you might want to reuse the result in other nodes without having to recompute/rerun the same thing again. You can save the output result as a variable, and reuse it for other nodes that is further down the flow path.
Taking inputs from any node that outputs string, number, boolean, json, array,
we can assign a variable name to it.
You can get the variable value from the variable name at a later stage: