Using queries to locate variables
You can combine queries with variables by storing query results in a variable and then passing those results to another node.
For example, you could query the Landmark database (using the Landmark node) to find out who is a user's manager. Then when you create a User Action node, you can notify the manager if a user does not perform a required action within the specified timeframe.