cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Responsive Resident
Responsive Resident

When email arrives, filter attachments

Hi All, 

 

Im trying to get the attachments when a email arrives in my sharemail inbox, and then move to upload mail, this is taking the attachments as the way it should, but the main part here is, even i have provided conditions here, that only accept the file if Attachment Name contains Zip, PDf, Xlsx or docx, else terminate or end the flow. 

 

I tried using parallel action as well seems like not working then i tried group condition as you can see in images below, but the thing is flow run successfully, but it does not filter the attachments, by this i mean it is even uploading image files. which i don't want 

 

 

can any one suggest where I'm i wrong in this? 

 

3rd image shows the highlighted content that image files are still uploaded even after condition runs. 

 

 

Experts' suggestions are appreciated, please.

 

Display.pngUntitled.pngUntitled1.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

2 REPLIES 2
Community Support
Community Support

@Tapesh From the pictures you shared of the Group conditions I see you also have a set of conditions for jpeg and png, why is that? The group conditions for pdf, docx, zip and xlsx should already take care of that. What i mean based on the group conditions if a document is not either of the 4 then the flow should terminate. So you only need to specify group condition for  pdf, docx, zip and xlsx and if yes the flow continues, if no the flow terminates. See sample flow below, if either red or green is selected then flow send email, if its any other color then flow terminates. So in your case if attachment is either of the 4 types flow continues, if it either jpeg or png flow terminates.

 

 

 
Community Support
Community Support

Helpful resources

Announcements
New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (75,574)