Skip to main content

Notifications

Power Automate - General Discussion
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

 

 

 

  • adelmonte Profile Picture
    adelmonte 86 on at
    Re: Filter email attachments

    @Hardesh15 Thank you so much 🙂

    Now it works

    adelmonte_0-1660912364928.png

     

  • Verified answer
    Hardesh15 Profile Picture
    Hardesh15 7,087 on at
    Re: Filter email attachments

    @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
    adelmonte 86 on at
    Re: Filter email attachments

    @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

     

  • Hardesh15 Profile Picture
    Hardesh15 7,087 on at
    Re: Filter email attachments

    @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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard