cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarcusD1
Helper I
Helper I

Get attachments from multiple emails and save to Sharepoint library

I've successfully built several flows that can capture an attachment from an incoming email and save to a Sharepoint library, but now I'm trying to build a manually triggered flow that searches all emails in an inbox, and filtered on Subject Line criteria, pulls the attachments from every email and adds them to a Sharepoint library. Tried multiple ways, but keeping getting one error or another. This is the structure I thought was the most straight forward:

 

MarcusD1_0-1651264535917.png

MarcusD1_1-1651264601799.png

 

This is the error I get:

MarcusD1_2-1651264678446.png

I think maybe I'm missing a Compose or Variable operator... but I'm not sure where it should go?

 

3 REPLIES 3
v-bofeng-msft
Community Support
Community Support

Hi @MarcusD1 ,

 

Please try:

vbofengmsft_0-1651472545567.png

 

Best Regards,

Bof

 

Hi Bof,

Thanks for your suggested solution, but it isn't working for me. Here's my updated flow as per your guidance:

 

MarcusD1_1-1652113268175.png

 

And here's the fail notice:

 

 

MarcusD1_0-1652113223404.png

 

MarcusD1_2-1652113378403.png

 

I noticed that your example has simple "id" dynamic content in the Attachments field... but couldn't find anything that displayed like that. I'm using the "Attachments Attachment ID" item - which is what I've used for all my other attachment related flows.

MarcusD1
Helper I
Helper I

Anyone else have any ideas...?

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,969)