Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

How to delete jpg

(0) ShareShare
ReportReport
Posted on 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 at
    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 at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow