I have followed this guide
Emailing File Attachments from Forms with Power Automate – What Me Pa..Panic? (dontpapanic.com)
However unfortunately it sends an email for each item uploaded, and each subsequent email also has the attachment for the previous email attached:
Email one: Attachment One
Email two: Attachment One and Two
Email three: Attachment One, Two and Three
and so on.
How can I prevent this please?
This is my schema if it's useful?
{
"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"
]
}
}