Previously had help setting up the below flow so it didn't send multiple emails and it's working perfectly now, but I would like to be able to send attachments from the SharePoint list in the email too (there may be multiple attachments and I'm using powerapps to input the attachment and other columns on the SharePoint list) I don't want it to end up sending multiple emails again
Solved! Go to Solution.
The key to doing this is to build an array of attachments in a variable using a Loop before you send the email. Then you can click the icon to the right to the Attachment name and switch the input over to accept an array of attachments. See the icon highlighted in the screenshot.
Here's an article that explains how to create the array of attachments in a variable.
YOu initialize the array variable at the top level with a null value, but then you can 'Append to the Array' inside the loop. Read the article I posted. There a full step by step explanation with screenshots.
Your problem is something in the Send Email Action. Can you send a screenshot of that and the loop where you are building the attachments array.
That all looks correct. In the failed run you posted earlier, what is the error in the Send Email Step?
Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.
Many congratulations to the Season 1 2021 Flownaut Crew!
ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.