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 / Only want PDF attachme...
Power Automate
Unanswered

Only want PDF attachments to save to SP folder- NOT Inline images

(0) ShareShare
ReportReport
Posted on by 30
I have a flow when an email arrives V3 with Includes attachments=Yes and Only with attachments=Yes. 
I then have a condition which looks at the email subject line equal to 'Additional'.
 
With this current flow it not only saves the PDF attachment but also all the other inline ones. I've read some guidance to try and adjust my flow to only look for pdf files and ignore inline.
This is my current flow: 
 
The value for filter array is-
and(
   equals(item()?['IsInline'], false),
   endsWith(toLower(item()?['Name']), '.pdf')
)
 
I have tried a few ways to build the rest of this flow to ONLY call PDF attachments and NOT inline attachments (Signature block, snipped images in email body). But it still is not working. 
 
Would appreciate any help as I need to get this working for this condition and another within this flow. 
Only PDF attachments- NOT inline_1.png
Only PDF attachments- NOT inline_2.png
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    I would expect that you would do the following
     
    1. Use Get Attachments
    2. Build an array filtering on the fly which should be easy based on the name, where you can use contains or in versus endswith
    I wouldn't use the Filter array myself, I would loop through the attachments and add them to an Array that you create at the top
  • laura_marsden Profile Picture
    30 on at
    @Michael E. Gernaey- could you show me what that might look like? Or an example I can refer to?
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Give me a moment please watching How to train your dragon 3. :-) then I will be back

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 801

#2
Valantis Profile Picture

Valantis 602

#3
Haque Profile Picture

Haque 581

Last 30 days Overall leaderboard