cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
frixel Post Prodigy
Post Prodigy

Save ONLY excel attachments from mail

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Save ONLY excel attachments from mail

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


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

14 REPLIES 14
Super User
Super User

Re: Save ONLY excel attachments from mail

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


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

frixel Post Prodigy
Post Prodigy

Re: Save ONLY excel attachments from mail

Thanks for you reply. See the error here.

how can i resolve this?

 

flow5.png

frixel Post Prodigy
Post Prodigy

Re: Save ONLY excel attachments from mail

I think a hick up now succeeded.

 

flow6.png

 

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

Super User
Super User

Re: Save ONLY excel attachments from mail

Perfect!

 

Please click "Accept as Solution"

 

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

 

Any questions, just ask.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


frixel Post Prodigy
Post Prodigy

Re: Save ONLY excel attachments from mail

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

frixel Post Prodigy
Post Prodigy

Re: Save ONLY excel attachments from mail

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

What must i fill in here?

 

flow1.png

Super User
Super User

Re: Save ONLY excel attachments from mail

Put .xlsx at the end

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


frixel Post Prodigy
Post Prodigy

Re: Save ONLY excel attachments from mail

So?

 

flow2.png

Super User
Super User

Re: Save ONLY excel attachments from mail

Nope. On the file name. Not content

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Super User
Super User

Re: Save ONLY excel attachments from mail

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


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Super User
Super User

Re: Save ONLY excel attachments from mail

Hi @frixel .

Do you now have your condition/Flow working as expected?

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


frixel Post Prodigy
Post Prodigy

Re: Save ONLY excel attachments from mail

No. it saves now the 2 attachments from the mail 8 times in the sharepoint.

I don`t know what i do wrong.

 

Super User
Super User

Re: Save ONLY excel attachments from mail

Ok. At one point today, I will build this from the ground up. I will address files of the same name also and I will post it a working example in a new post.

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Super User
Super User

Re: Save ONLY excel attachments from mail

Hi @frixel 

You had asked "But hou to changed the flow when attachments hav the same name?"

 

Please see: https://powerusers.microsoft.com/t5/Flow-Cookbook/Save-Outlook-Attachments-And-Guard-Against-Duplica...

 

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

 

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,628)