I am using a PowerApps app to create a new item in a SharePoint list with attachments, using a Power Automate flow. I can do that successfully by assigning the following to the "Create new item" button:
'FlowName.Run(Label1.Text,{contentBytes:First(DataCardValue6.Attachments).Value, name: First(DataCardValue6.Attachments).Name})
Where DatacardValue6 is the attachment control storing my attachments. Obviously, with "First" in the formula, the flow only uploads the first attachment in the box. What should I change in my formula for all the attachments in the box to be uploaded to the list?