I am working with 2 sharepoint lists. Both lists contain a reference column that has an identical value to keep the 2 respective records associated with eachother.
The first one is when item or file modified > get items
The second sharepoint list I need to get 2 values from a specific record. Since I don't have the ID, I am hoping theres a solution like (lookup(sharepointlist2, reference = $reference)).ID where $reference is the value of reference column mentioned above.
I see solutions saying use get-items but I intend to only get a single item. I don't want to add extra "apply to each" steps to drop out of the object just to get to the values. That feels... unelegant