# Relative References

Hi there, is there a way to reference a previous node’s output based on a relative position (i.e. parent node / child node) instead of an absolute value (i.e. name of a node)? Thanks!

Hello @Ian_Taggart welcome to the community!

Yes, that is possible for the “json” data with:

``````{{ \$json["propertyName"] }}
``````

and for “binary” data like this:

``````{{ \$binary["propertyName"]["fileName"] }}
``````

However, I think that there was a problem I never solved with more complicated loops with multiple inputs (or something like that). For that reason did not really document it. But if you have a simple flow it should work totally fine.

Thanks for the reply and information, @jan ! This has answered my question.