web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Save ONLY excel attach...
Power Automate
Answered

Save ONLY excel attachments from mail

(3) ShareShare
ReportReport
Posted on by 969

Hello,

 

How can i make a Flow that save ONLY the excel files (.xlx, .xlsx) tot Sharepoint from a mail.

 

The Flow i now have saves also the images that are in the mail and that is not what i want.

 

flow4.png

 

Categories:
I have the same question (0)
  • Verified answer
    AlanPs1 Profile Picture
    2,471 on at

    Hi @frixel , thank you for your post.

    I have acheived this by using a condition as below in my example using .pdf initially.capture-291.PNG

    Using the new condition builder and adding to your own flow within "Apply to each" you could use the following to cover multipl excel file formats.capture-292.PNG

    If you find my posts helpful, please mark with thumbs up

    If this solves your issue, please click "Accept as Solution"

    Any questions, just ask.

    Thanks, Alan

  • frixel Profile Picture
    969 on at

    Thanks for you reply. See the error here.

    how can i resolve this?

     

    flow5.png

  • frixel Profile Picture
    969 on at

    I think a hick up now succeeded.

     

    flow6.png

     

    But hou to changed the flow when attachments hav the same name?

  • AlanPs1 Profile Picture
    2,471 on at

    Perfect!

     

    Please click "Accept as Solution"

     

    If you found my posts helpful, please mark with thumbs up.

     

    Any questions, just ask.

    Thanks, Alan

  • frixel Profile Picture
    969 on at

    But hou to changed the flow when attachments hav the same name?

  • frixel Profile Picture
    969 on at

    Ahh, now i see that the attachments in Sharepoint are mismake and would not open.

    What must i fill in here?

     

    flow1.png

  • AlanPs1 Profile Picture
    2,471 on at
    Put .xlsx at the end
  • frixel Profile Picture
    969 on at

    So?

     

    flow2.png

  • AlanPs1 Profile Picture
    2,471 on at
    Nope. On the file name. Not content
  • AlanPs1 Profile Picture
    2,471 on at

    In fact, in my example I haven't had to use a file extension on the attachment name.

    Just see how you get on, you're not far away and I'm sure you'll get it.

    any issues, just ask.

    Thanks, Alan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard