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
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,930)