Hello,
I'm building a flow that takes multiple attachments from a SharePoint List item and attaches them to an email. I've recreated the flow a number of different ways that seem to work for others and none are working for me. For some reason, my attachments are "blank" every time. The actual content seems to be getting lost somewhere along the way.
List items are generated when emails arrive at a shared inbox. I add the email body, attachments, etc., to the list items. Depending on which actions are taken with the list items, I send an email containing the original email body and attachments back to the original sender with a short message.
This:
Returns attachments like this:
As you can see, the attachment names and dimensions are making it through, but nothing else. Attachments aside, every other part of the email makes it no problem.
What could I be doing wrong/differently? Thanks in advance!
Solved! Go to Solution.
Thanks again for looking into this!
As I suspected, the email attachment portion of my process was correct after all. The issue was with how the attachments were getting into the SharePoint list in the first place.
Hi @romike
There are couple of posts already in community regarding this. Please see below.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThanks for your response.
The post you linked to is for a different thing. I need to get attachments from a SharePoint list, not files from a SharePoint document library. Entering expressions from that thread gives me errors and blocks me from saving or running my flow.
Hi
Please follow the below steps
If all the mapping are looking exactly the same as above then please remove the append array and map those variables again (JSON format).
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThanks again.
Judging by my screenshots (and I also just rebuilt it again to see if that fixed anything), that's what I'm already doing and it's not working for me. The only difference is that my flow doesn't require an Apply to each loop for Get attachments. (I'm not sure what the "value" output is supposed to be there - I have no such option.)
I've tried this JSON and a handful of other approaches that seem to be working for other people, but I can't get any of them to work in my context.
I'm curious what could be different about my list/list items/flow/etc. that's causing it to malfunction when it seems to be a relatively cut-and-dry flow that a lot of people have successfully implemented.
More research required!
Hi @romike
Check your dynamic mappings are correct or not. You should get a loop after get attachments action step.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogThanks again for looking into this!
As I suspected, the email attachment portion of my process was correct after all. The issue was with how the attachments were getting into the SharePoint list in the first place.
User | Count |
---|---|
87 | |
37 | |
25 | |
13 | |
12 |
User | Count |
---|---|
118 | |
55 | |
36 | |
23 | |
21 |