web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : l62tvnNsMXoSaStQMjlERk
Power Automate - Building Flows
Answered

Unintended Multiple Email being Sent

Like (0) ShareShare
ReportReport
Posted on 10 Nov 2022 22:51:31 by 5,179 Super User 2025 Season 2

I have created a 'send email' flow when an item is created in a SharePoint List.

I have data from a Microsoft Form populating a SharePoint 'Survey Data List'.

When a new survey is submitted, the data is added to the SharePoint List.

This action triggers a 'Send Email' flow.

The email addresses are in a separate SharePoint 'Names and Emails List'.

 

There is a condition in the flow that says If the content of two 'Title' and 'Category' match send the email to the address associated with that Category on the 'Names and Emails List'.

Everything is working; However, every time and item is added to the List emails for every line item on the list go out to those associated.

I only want the flow to send out one email to the person associated with the new item added to the List.

 

Phineas_0-1668120127135.png

 

I have the same question (0)
  • Ajinder31 Profile Picture
    530 on 15 Nov 2022 at 16:54:51
    Re: Unintended Multiple Email being Sent

    Hi @Phineas , It should work fine for gmail account as well. 

    --------------------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Phineas Profile Picture
    5,179 Super User 2025 Season 2 on 15 Nov 2022 at 16:52:30
    Re: Unintended Multiple Email being Sent

    Does the 'Send an Email (V2)' Office 365 Outlook action limit the process to ONLY sending to Outlook email addresses?

     

    Can the above also be used to send emails to Gmail accounts, or is another send email action a better choice?

  • Verified answer
    Ajinder31 Profile Picture
    530 on 14 Nov 2022 at 10:45:35
    Re: Unintended Multiple Email being Sent

    Hi @Phineas , I created something similar on my end. Please have a look at below screenshot and let me know if it helps. 

    Ajinder31_0-1668422724264.png

     

  • Phineas Profile Picture
    5,179 Super User 2025 Season 2 on 11 Nov 2022 at 18:03:16
    Re: Unintended Multiple Email being Sent

    And what should the filter value be/look like?

    Also, the flow is working - kind of. It is sending only one email, but it is sending to the same box rather than the right box.

    My Lookup in the Survey List is not auto-populating for new items added, as I assumed it would.

    I'm still having an issue with the flow finding and choosing the correct email dynamically.

    Phineas_0-1668189277062.png

    Names and Emails List

    Phineas_1-1668189427344.png

     

    Survey Data List

    Phineas_3-1668189634898.png

     

    Based on the above, what should go in the red circles below.

    Phineas_4-1668189711908.png

     

  • Ajinder31 Profile Picture
    530 on 11 Nov 2022 at 17:45:58
    Re: Unintended Multiple Email being Sent

    Hi @Phineas , I think so. What is the output of Get items? 

    I assumed Get Items should always return only 1 value filtered based on Category but if Filter query is null then it's returning all the items 

     

  • Phineas Profile Picture
    5,179 Super User 2025 Season 2 on 11 Nov 2022 at 17:43:30
    Re: Unintended Multiple Email being Sent

    Is this a concern? Should / Can I fix this somehow?

  • Ajinder31 Profile Picture
    530 on 11 Nov 2022 at 17:37:28
    Re: Unintended Multiple Email being Sent

    Hi @Phineas , The warning is because there is no Filter query or other options specified. In absense of those Get items is supposed to get all the records from the list which is mostly not a good idea. 

  • Phineas Profile Picture
    5,179 Super User 2025 Season 2 on 11 Nov 2022 at 17:22:22
    Re: Unintended Multiple Email being Sent

    This is what I've got now.

    It seems to be working, though I'm still getting a warning about not using the ODATA filter query.

    I'm testing again.

    Phineas_1-1668187330283.png

     

     

  • Ajinder31 Profile Picture
    530 on 11 Nov 2022 at 17:00:10
    Re: Unintended Multiple Email being Sent

    Hi @Phineas , The flow looks good. Any issue you're facing?

  • Phineas Profile Picture
    5,179 Super User 2025 Season 2 on 11 Nov 2022 at 16:55:51
    Re: Unintended Multiple Email being Sent

    I apologize for the back-and-forth; I'm really bad at this.

    Here is what I have now. I also included a Lookup column in the 'Survey List' that is pulling in the email from the 'Names and Emails' List. It's still not working.

    Phineas_1-1668185723596.png

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard