cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Apply to all generates multiple emails

I'm relatively new to Flow and by no means an expert. I've created a Flow to save attachments sent by email into a SharePoint library which then uses a condtion to only save PDF files as per the below:

 

@contains(items('Apply_to_each_Attachment_on_the_email')?['Name'], '.pdf')

 

I've set the "if no" variable to "reply to email" which is working, however is sending multiple emails according to the number of attachments in the email that do not meet the .pdf requirements. How can I ammend the Flow so that only one email is sent?

 

I assume this is because of the "apply_to_each_attahment_on_the_email) section of the condition but I have no idea how to go about fixing this. Any help greatly appreciated. 

 

Thanks,

Rob

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper II
Helper II

Re: Apply to all generates multiple emails

Think I've got to the bottom of my issue which was simply creating an Exchange rule to exclude signatures being applied to the recipient connector. This reduced the bulk of automated responses and the reply to email function is only sending replies to "user attached files". 

 

 

View solution in original post

5 REPLIES 5
Highlighted
Community Support
Community Support

Re: Apply to all generates multiple emails

Hi @rsymmons,

 

I have made a test on my side, please refer to screenshot below to create the flow:

Capture.PNG

Capture.PNG

 

 

Best regards,

Alice

Highlighted
Administrator
Administrator

Re: Apply to all generates multiple emails

Hello, @rsymmons!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Highlighted
Helper II
Helper II

Re: Apply to all generates multiple emails

Hi Alice, 

 

Thanks for the suggestion I'll test and confirm if working. 

 

Rob

Highlighted
Helper II
Helper II

Re: Apply to all generates multiple emails

Alice,

 

I've had a chance to test your suggestion and it only seems to send the message when a PDF is submitted rather than not submitted. Any idea what could be going wrong? I'm pretty sure I've got this setup as suggested.

Highlighted
Helper II
Helper II

Re: Apply to all generates multiple emails

Think I've got to the bottom of my issue which was simply creating an Exchange rule to exclude signatures being applied to the recipient connector. This reduced the bulk of automated responses and the reply to email function is only sending replies to "user attached files". 

 

 

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,447)