Did you know that each node has an input and an output port for workflow variables. To display these ports, right-click the node and select "Show Flow Variable Ports". The node will show two red Mickey Mouse ears: those are the workflow variable ports. (If you know where they are you can even connect to them without first displaying them...)