cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bellelacdao
Frequent Visitor

Help needed - Microsoft Flow - How to get specific attachment from email and save in SharePoint

Hello guysss

 

The email I receive in a daily basus has 2 attachments, one .xls and one .txt. I only want to get the .txt file and automatically save in a SharePoint. Can anyone help me how to filter the file type to just get the txt file?

 

Thank you in advance

 

1 ACCEPTED SOLUTION

Accepted Solutions
manuelstgomes
Super User
Super User

Hi @bellelacdao 

 

Yes is perfectly possible. Here's the structure of the Flow.

Screenshot_2021-02-04_at_08_30_52.jpg

 

Please note that you need to fetch the email first to get the attachment. If you try to use the attachment from the trigger, the attachment will be corrupted. See details:

https://powerusers.microsoft.com/t5/General-Power-Automate/Pdf-attachment-is-corrupted-when-saved-in...

 

Can you please check if and let me know if you have any questions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

3 REPLIES 3
manuelstgomes
Super User
Super User

Hi @bellelacdao 

 

Yes is perfectly possible. Here's the structure of the Flow.

Screenshot_2021-02-04_at_08_30_52.jpg

 

Please note that you need to fetch the email first to get the attachment. If you try to use the attachment from the trigger, the attachment will be corrupted. See details:

https://powerusers.microsoft.com/t5/General-Power-Automate/Pdf-attachment-is-corrupted-when-saved-in...

 

Can you please check if and let me know if you have any questions?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

thank you so much 🙂 it's now working. you're a life saver 

manuelstgomes
Super User
Super User

AWESOME 🎉

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,285)