Here is what you do.
Steps
1. Trigger
2. Get Response details
3. Create your Array
4. Add an Apply to each
ALL NEXT LETTER STEPS ARE INSIDE APPLY TO EACH.
a) you want to type the expression json() --
and inbetween the () you want to add the Dynamic Question with the Files uploaded in between so mine looks like this
Where the guid just gets filled in when you pick the question
b) Add get file content
Where in the File you want to type the expression item()?['id']
Remember its an expression not a string
c) add the append array
And for name you use expression item()?['name']
again that an expression not a string as such
Now you are done collecting them.
d) To add them to your Approval
click to go to advanced mode for attachments
Then in the attachments just put
Cheers
Please let me know if you have further questions.
If this helps you, please help me by marking as Such and maybe a like also :-)