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 / Remove email signature...
Power Automate
Answered

Remove email signature image attachments

(1) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1

Hello,

 

When an email with a corporate signature is picked up by flow and an item is created in SharePoint, it also includes the individual images from our email signature and thus adds them as attachments to the list item. 

Is there any way to exclude these? For example if attachment = image001.png etc?

 

attachments.png

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @sudosaurus ,

     

    You could use condition to exclude the signature image:

    54.PNG

    Hope this helps.

     

    Best Regards,

  • sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at

    @v-bacao-msft 

     

    This works in testing - how would I add to my other flow? where you provided the solution here:
    https://powerusers.microsoft.com/t5/Building-Flows/Include-Email-CC-in-SharePoint-People-column/m-p/560636#M73213

     

    Here's my current flow setup - I've added in some other functions.

     

    Flow 1 - When email arrives in shared mailbox > create item

     

    1.png

    Yes1.png

    Yes2.png

    Yes3.png

    Yes4.png

    No1.png

    No2.png

    No3.png

     

    Flow 2 - Send Email to Requester and CC Requesters


    Email.png

  • v-bacao-msft Profile Picture
    on at

     

    Hi @sudosaurus ,

     

    You just need to add Condition in Apply to each 2 and Apply to each 3 in Flow 1 to check if the attachment Name meets the condition.

    Please take a try.

     

    Best Regards,

  • daniellamoore29 Profile Picture
    4 on at

    Hi, I have added this to a flow and it still passes the footer images. Please could you help?

     

    My FlowMy Flow

  • Mario_SLB Profile Picture
    36 on at

    It seems like no matter what filter you use, the image still passes through to the SharePoint folder. I made another flow to periodically delete all those small image files in that folder. 

  • Community Power Platform Member Profile Picture
    on at

    Hi Mario,

     

    Could you share your solution for deleting the images from the folder? That would be very useful.

     

    Kind Regards,

    Ann

  • Mario_SLB Profile Picture
    36 on at

    I actually got the filter flow to work

     

    Here is a picture of my flow. The key is where you put the condition. Using the Save my email attachments to a SharePoint document library flow template, you need to put it under the "check from email address" condition and right about the "Create File" in SharePoint portion. The first filter is the image Attachment Name doesn't contain the word image, and the attachment size is greater than 10000 bytes (10kb). 

     

    Mario_SLB_0-1621950522689.png

     

  • Mario_SLB Profile Picture
    36 on at

    You need to drag the Apply to each 3 into the If yes portion

  • Community Power Platform Member Profile Picture
    on at

    Hei Mario,

     

    Thank you so much for your input! I use the template "Save Office 365 email attachments to specified OneDrive for Business" and modified the flow in the way you suggested.

    It's a tremendous relief to get finally rid of the unnecessary signature jpg and png files.

     

    If anybody wants to use my solution, here is the workflow.

     

    In Condition 2 the first dynamic content is: "Attachments Name",

    the second one: "Attachments Size"

     

    Flow.png

  • Community Power Platform Member Profile Picture
    on at

    Hi,

     

    Using this condition will help to exclude signatures as image attachments, but on same time we will not receive copy paste attachments from the email body anymore. So is there any alternative solution for this?

     

    Regards,

    Sankar R Mangattu

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard