I am using Power Automate to automate a few different actions. The trigger is an ArcGIS survey 123 submission. Each flow that I have created should create a report from a survey, save the report to OneDrive, retrieve the report, send the report as an attachment in an email, and finally attach the attachment to a feature layer. I am trying to attach the attachment to a different feature layer than the original survey layer. I can successfully attach things to this new layer, but it attaches to all of the result dots. I need it to attach to a specific result dot. The object that I want to attach to would have a different object ID than the object ID of the survey from which the report data is pulled. How do I get the object ID from a different survey response to be dynamic content on Power Automate? Is this possible?
I have attached one of my flows below.