cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TBMRégulation
New Member

Delete *.jpg on folder Google Drive

Hello everyone, I created a flow that transfers me the attachments of the e-mails that I receive on Outlook in a folder on google drive.

 

My problem is that in this mail, there is an image in the signature that is also copied to Drive.

 

How can I filter for all * jpg? Change my Flow or create a new one?

 

Thank you for your helpCapture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions

Hey @TBMRégulation 

 

You have to put that condition just below the trigger to check for the image files. If the file is image and the condition is yes then do not do any thing (as you dont want to create the image files in gdrive) and if no, create the file in google drive. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

4 REPLIES 4
yashag2255
Dual Super User II
Dual Super User II

Hi @TBMRégulation 

 

You can check the Attachment content type for image/png or image/jpg and get rid of the image files: tesw.PNG

Note that this will strip all the files that have the jpg or png content type. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Thank you for your help.

 

but I don't know where I can introduce this condition in my flow

Actually I want to delete all * .jpg images from this folder, should I leave "image / jpg" where I have to put the full name of the image to delete?

In the condition, "If no" what should I write?

 

Sorry I'm a nooby Smiley Embarassed

Hey @TBMRégulation 

 

You have to put that condition just below the trigger to check for the image files. If the file is image and the condition is yes then do not do any thing (as you dont want to create the image files in gdrive) and if no, create the file in google drive. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Ok thanks.

 

So, I have to write "image/jpg" like in your example or "*jpg" ?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,291)