A few questions came up around how to work with multiple file upload questions. So I thought I would put together a way of handling this.
This article runs through how to use pickup multiple attachments from multiple File Upload questions. I have already created a form like the one below, with multiple upload questions:
There are a couple of ways to use PowerAutomate to pick up both questions, however I found the easiest way to set up the flow without having to repeat the actions for Parsing the JSON, retrieving the file content and handling the attachments, is to store the responses to each question in an array and then looping through the array.
Once all of the file upload responses are stored in an array we can loop through each item and parse the JSON.
Once we have parsed the JSON we can handle each of the files.