cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bansari_Pandya
Helper III
Helper III

Get only pdf attachment from Email and save to SharePoint

Hi everyone,

 

I want to extract the pdf attachment using 'when an email arrives' action. and then store it to share point list.

 

When I receive an email with signature, then it will store attachment as well as image(as separate file).

 

Bansari_Pandya_0-1621324192224.png

 

Can we add some condition in trigger, which only fetch the attachments not related company logo or signature detail?

 

Bansari_Pandya_1-1621324267981.png

 

How can we apply condition here?

 

Thanks in Advance!

Bansari Pandya.

2 REPLIES 2
muralidharan
Resolver III
Resolver III
Paulie78
Super User
Super User

What you need to do is add a filter array action, filter the attachments array so that it only matches filenames ending in PDF, that will remove all of the image files and leave you with just the PDF that you want.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,296)