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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter email attachments
Power Automate
Answered

Filter email attachments

(0) ShareShare
ReportReport
Posted on by 86

Hi all,

 

I would like to filter email attachment and save only pdf files.

I have read many posts and tried few solutions but none worked.

I used Filter Array

Attachments is inline is equal to false

Attachment Content Type is not equal to image/jpg

and Condition Control
Attachments is inline is equal to false

Attachment Name ends with pdf

I always have email Logo and Signature images saved I can't filter them out.
Thanks in advance for your help.

Regards,

Alex

adelmonte_0-1660897307086.png

 

adelmonte_1-1660897355250.png

 

 

 

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @adelmonte  Add one compose and pass attachment name. Run your flow and share output.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • adelmonte Profile Picture
    86 on at

    @Hardesh15 
    thanks for your reply but this also doesn't work

    apart from pdf files image files are also saved.

    adelmonte_2-1660902749893.png

     

     

    SharePoint saved files

    adelmonte_1-1660902533403.png

     

  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @adelmonte  Why this extra loop is there?

    Hardesh15_0-1660904611015.png

    File name and content should come from first loop. Remove this loop.

    Hardesh15_1-1660904717125.png

     

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • adelmonte Profile Picture
    86 on at

    @Hardesh15 Thank you so much 🙂

    Now it works

    adelmonte_0-1660912364928.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard