I have a Power Automate flow that takes the result of an MS form and sends an email with the details. The form allows for attachments and the resultant email the flow sends out includes a link to that attachment. My problem is that if someone uploads more than one attachment, the flow triggers once for each attachment and sends a seprate email each with a different link to one of the attachments. What I'd like is for it to send one email, with a link for each attachment in the same email. Is there a way to achieve this? This is the flow:
The json in the Parse section is as follows (cribbed from another website):
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"link": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {},
"size": {
"type": "integer"
},
"referenceId": {
"type": "string"
},
"driveId": {
"type": "string"
},
"status": {
"type": "integer"
},
"uploadSessionUrl": {}
},
"required": [
"name",
"link",
"id",
"type",
"size",
"referenceId",
"driveId",
"status",
"uploadSessionUrl"
]
}
}