I'm very new to Power Automate, so please excuse me if I'm just being very stupid.
I'm trying to create a flow that sends an email with 8 attachments which all come from a folder in Sharepoint. The flow will send the email, but it won't attach anything. I'll add screenshots to show how I've attempted to do this. The flow runs successfully, but the Apply to Each doesn't run at all. Can anyone help me with this? Thank you!
Looking into it more, it looks like the Get Files action is not actually getting any files, so there's nothing to pass to the apply to each loop, which is why it isn't running. I'm just not sure why the Get Files action isn't returning anything, because I've double and triple checked the path.
Edit: I realised this was a problem with permissions or the site I was using. When I recreated the folder and the flow in a different site it worked just fine. Thank you so much for your help!
Hi! Thank you so much for your help. Unfortunately, I still have the same problem. The apply to each action just doesn't run. Here's a screenshot from my last run. I used your video and followed the exact same procedure, but the apply to each simply doesn't execute.
Hi @caitlink
I think you’re almost there. The name value in your append to array needs to be encapsulated in “”. Content bytes doesn’t, which is correct. I’ve a video on this process https://youtu.be/9G9GNeknemg which might be of help.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien
P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492