Under the top bar, activate left "Variables". Then drag the required variable to the workflow area.
This will insert an action "Query variable".
Enable "Show results", and do a single step to execute this action.
The result of this action can then be forwarded to any next action.