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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate flow to...
Power Automate
Unanswered

Power Automate flow to get attachments but only if PDF, Word or Excel

(0) ShareShare
ReportReport
Posted on by 2
Hi
I have created a flow that is triggered when an email is received by our Finance shared mailbox.
These attachments are usually Invoices
It takes the attachment and puts it in a document library along with some meta data such as who is it from, subject line, date etc.
 
This works well. in fact rather too well.
If an email is received the flow will put ALL attachments in the document library including any .png files with company logos etc, not ideal.
 
I have bodged a way around it by editing the All Items view with the Type column filtered to only show .pdf. docx .doc .xls .xlsx 
 
How can I tell the flow to only use the formats I want?
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at
  • Adam at home Profile Picture
    2 on at
    Thank you Ellis
    I find I am still getting other attachments saved to the library.
    For example .jpeg and .png
    Here is my Condition to filter the attachment types:
  • Ellis Karim Profile Picture
    11,681 Super User 2025 Season 2 on at
    Can you please share the entire flow.
     
    Ellis

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard