How to link multiple data sets in Appgyver to show the values on the same page? For Backend to connect data sets, I'm using Google Firestore (referenceValue)

Hello everyone,
I’m trying to display comments on a particular Post(Like Instagram). So to achieve that I need the following linking between 3 datasets:
Post → Comment → Profile of commenter

To have this linkage I’ve added the field Post ID and Profile ID in the Comment dataset. Is there a way to get values from 2 different data sets by sending an HTTP request and storing them in the same variable so that they are linked together?