Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Flows

Email signatures images getting copied in document library

(1) ShareShare
ReportReport
Posted on by
My flow extracts email attachments and store in the below predefined path based on below flow logic so my ask is when my email contains images in the signatures those were getting copied along with the attachments in this document library so how to eradicate this and only extract email attachments and no images from email body
 
    
 
 
 
 
 
     
 
 
Detailed flow steps
 
 
 
 
 
 
 
 
 
 
 
 
  • trice602 Profile Picture
    13,911 Super User 2025 Season 1 on at
    Email signatures images getting copied in document library
    Please confirm you changed the dynamic content from 'Attachment Name' to 'Attachment Size'.
     
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     

     
  • blitz Profile Picture
    on at
    Email signatures images getting copied in document library
    I tried the same but then facing below error
    Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.
     
  • blitz Profile Picture
    on at
    Email signatures images getting copied in document library
    Yes thats good idea but sometimes in email attachment we could have some important png files project related so how we can decide in this context. but if there are any other logic which could eliminate this issue. reason is that sometimes email attachment can contain small size project related png files too. Kindly advise
  • trice602 Profile Picture
    13,911 Super User 2025 Season 1 on at
    Email signatures images getting copied in document library
    Hi,
     
    Try using the attachment file size then; it will allow all file types, and you can eliminate most email signatures.
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a solution to help others find this answer too!

    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     
     
  • blitz Profile Picture
    on at
    Email signatures images getting copied in document library
    yes i tried the below condition as per your suggestion already but then side effects we go through is if your email contains png related to email then its not copying. what i mean is if my email attachments contains png files types then its not getting copied
     
    Kindly advice in this context
  • trice602 Profile Picture
    13,911 Super User 2025 Season 1 on at
    Email signatures images getting copied in document library
    Hi,
     
    I would add to the condition and check the attachment type.  This seems to filter out the email signature pretty good.  Most of the time my flows are working with .xlsx, .doc, .pdf's.
     
    Attachment name     does not end with     .png


     
     

    I also have a couple of flows where I check the attachment file size, in cases where you are processing image attachments, this can filter out small files, such as email signatures.




    --------------------------------
     
     



    If this was helpful, please like and/or mark as a solution to help others find this answer too!

    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     
     
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow