cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
krishnakumar_72
Regular Visitor

When a New email arrives (v3)

1. Can We filter our email in power automate based on Attachment names (or type). Example. If an email arrives with Attachment name *ABC.csv", then trigger a flow. Is this possible
2. Can we download only *.xlsx attachments once the flow is triggered. The email can have N number of attachments 

1 ACCEPTED SOLUTION

Accepted Solutions
msaqlie
Frequent Visitor

Hi,

1. This is possible, You can use a Condition to check and see if the email has attachments and then use 'Get Attachment' inside an 'Apply to each' to get the Name or the ID of all the attachments. Once that is done you can then check with another condition to see if the name criteria is met. If yes then you can trigger your other flow to run.

2. It will be easier to save the file to onedrive or sharepoint, and as for N number of attachments you will be able to go through each attachment with an 'Apply to each'.

 

If i have answered your question, Please mark this as a Solution.

View solution in original post

2 REPLIES 2
msaqlie
Frequent Visitor

Hi,

1. This is possible, You can use a Condition to check and see if the email has attachments and then use 'Get Attachment' inside an 'Apply to each' to get the Name or the ID of all the attachments. Once that is done you can then check with another condition to see if the name criteria is met. If yes then you can trigger your other flow to run.

2. It will be easier to save the file to onedrive or sharepoint, and as for N number of attachments you will be able to go through each attachment with an 'Apply to each'.

 

If i have answered your question, Please mark this as a Solution.

krishnakumar_72
Regular Visitor

thank you and makes sense
https://www.youtube.com/watch?v=hytNQNMb89g

Helped me as well 

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 (1,817)