sailingbikeruk
sailingbikeruk

Reputation: 326

Save ONLY CSV attachments when email received - Power Automate

I have the following flow in Power Automate.

The trigger works fine

The actions work fine

The filter does not. It saves ALL the attachments rather than just the single named CSV file. I have tried several condition including Ends with, Contains and Equals with various strings for comparison but I always get all the attachments including the images etc.

Any help appreciated, I am still finding my feet with Power Automate.

screen shot of Power Automate Flow

These are the advanced settings in the trigger

Screenshot of advanced settings in trigger.

Upvotes: 0

Views: 1026

Answers (1)

Skin
Skin

Reputation: 11262

The problem is, your Apply to each loop is pointing to the original array of attachments that came in from the trigger.

It needs to point to the output from the Filter array operation.

Find the dynamic content from the output of the filter operation, change it to that, and it will work for you.

Upvotes: 1

Related Questions