Showing results for 
Search instead for 
Did you mean: 
New Member

Filter attachments

I'm trying to save mail attachments to sharepoint library.

If email contains images in body they are saved as image001,002 etc. attachments, I need to exclude this files from saving.

I've created flow, and when I try to select Attachment Name as Value I have this error.


I understand that I need something like this in condition but can't select that NAME parameter


Community Support
Community Support

Hi Anatoliy,


From the error message, it seems that you are trying to configure a foreach inside of another foreach. Do you have two foreach within your flow?

Which browser are you using?

Could you show me a full screenshot of your flow configuration for better understanding?


I tried to create a flow according to your description, I can select Attachment name from dynamic content.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

>Do you have two foreach within your flow?


>Which browser are you using?

Internet Explorer 11

>Could you show me a full screenshot of your flow configuration for better understanding?

This is flow was created from template. And i added Delete mail and Condition



I can't select Name. So I tried this: 

Select Subject.

Then go to advanced mode:


Change Subject for Name.

Save flow.

And. Nothing. Flow not working anymore.


Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (3,200)