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

Community site session details

Session Id : 9gh60NIUeTv25+5iQgKxno
Power Automate - Building Flows
Answered

Remove email signature image attachments

Like (1) ShareShare
ReportReport
Posted on 12 May 2020 11:56:29 by 1,597 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

I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on 13 May 2020 at 02:34:23
    Re: Remove email signature image attachments

     

    Hi @sudosaurus ,

     

    You could use condition to exclude the signature image:

    54.PNG

    Hope this helps.

     

    Best Regards,

  • sudosaurus Profile Picture
    1,597 Super User 2024 Season 1 on 15 May 2020 at 12:10:49
    Re: Remove email signature image attachments

    @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 18 May 2020 at 01:50:26
    Re: Remove email signature image attachments

     

    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 18 Feb 2021 at 13:05:38
    Re: Remove email signature image attachments

    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 13 May 2021 at 14:09:45
    Re: Remove email signature image attachments

    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 25 May 2021 at 13:07:42
    Re: Remove email signature image attachments

    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 25 May 2021 at 13:49:13
    Re: Remove email signature image attachments

    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 25 May 2021 at 13:52:19
    Re: Remove email signature image attachments

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

  • Community Power Platform Member Profile Picture
    on 26 May 2021 at 06:54:53
    Re: Remove email signature image attachments

    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 01 Apr 2022 at 10:27:42
    Re: Remove email signature image attachments

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard
Loading started
Loading complete