cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rsymmons
Level: Powered On

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
rsymmons
Level: Powered On

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". 

 

 

5 REPLIES 5
Community Support Team
Community Support Team

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

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 Flow Community Manager
Highlighted
rsymmons
Level: Powered On

Re: Apply to all generates multiple emails

Hi Alice, 

 

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

 

Rob

rsymmons
Level: Powered On

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.

rsymmons
Level: Powered On

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". 

 

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 477 members 4,532 guests
Please welcome our newest community members: