cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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.

Anonymous
Not applicable

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

Helped me as well 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,037)