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

Community site session details

Session Id : WIeQw2Znc28naeKf+RTZs9
Power Automate - Using Flows
Answered

How to delete jpg

Like (0) ShareShare
ReportReport
Posted on 16 May 2020 12:38:07 by

Hi,

 

I have a simple flow to 1)receive email with excel attachement 2)save file in sharepoint 3)send the file to specific users via email.

The problem is that when I save the attachment to sharepoint, not only the excel file, but also the jpg corporate logo on an html email gets saved.  Two files(excel and jpg) will be generated each time, and will be sent out as separate email.

 

I only want to save and send the excel file... but how can I avoid saving the jpg file, or at least avoid from sending it out to users?

 

Thanks.

 

 

 

 

 

 

  • Community Power Platform Member Profile Picture
    on 17 May 2020 at 10:04:00
    Re: How to delete jpg

    @rsaikrishna 

     

    Thank you very much for answering my basic question.

    Problem solved!

     

  • Verified answer
    rsaikrishna Profile Picture
    3,703 on 16 May 2020 at 22:06:36
    Re: How to delete jpg

    @Anonymous 

     

    You can place a condition to check the file extension as .xlsx file. If any other file comes, just ignore.

    P4.JPG

     

    In the above screen shot, I am checking "Attachment Name" ends with ".xlsx" file. If condition return true, in the Yes block, write the logic to create file in SharePoint. In the No lock, just ignore.

     

    Regards

    Krishna Rachakonda

    If this reply helps resolving your issue, please mark it as Accepted Solution.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete