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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send Email keeps loopi...
Power Automate
Unanswered

Send Email keeps looping and forcing me to apply to each

(0) ShareShare
ReportReport
Posted on by

 

I'm trying to send an email on new item creation.  When i use the send email notification when I select an item it forces "Apply to each".  This results in two emails sent although there is only one person in the field.  How do i avoid the Apply Each being automatically added?  

 

ComputerHabit2_0-1594312248958.png

 

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @ComputerHabit2 

     

    Your action "Get email location addresses" action is Get Items action. This action gets more than one item. Due to that, you see Apply to each action when you are trying use the field from "Get email location addresses".

     

    In your case, you are getting 2 entries from the list. Due to that, the Apply to each is sending two emails.

     

    If you just want to send one email to all the users, then Create a variable "varEmailIds" of type string and append all the email addresses to it in the Apply to each.

     

    Now, you can use the variable varEmailIds in the Send Email's To. 

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @ComputerHabit2 

    What are you referencing from Dynamic properties.  If the column is a  person or group column, you should be referencing Account Manager Email.

    Does your person or group column allow for multiple entries?

     

  • ComputerHabit2 Profile Picture
    on at

    I'm trying to do a lookup in two different lists to get an email address based on a lookup.  

    I used the GetItem option to get the email address.  If there is a better way please let me know.  I've been doing SP 200 and 203 worklfows for a long time and this if freaking taking forever to do the same thing I did in seconds with old workflows.

     

    Every time I try to use the email address it creating the freaking loop~!!! WHY!

  • ComputerHabit2 Profile Picture
    on at

    It's a people field with one person in it.

  • ComputerHabit2 Profile Picture
    on at

    This keeps just creating this loop.  I don't understand why.  I'm trying to take the manager field and it puts it in a loop every time.  Why?

     

    ComputerHabit2_0-1594313985326.png

     

  • ComputerHabit2 Profile Picture
    on at

    How do I create this variable?  I tied compose.  

  • ComputerHabit2 Profile Picture
    on at

    I guess getting the details the way I did just always makes this loop appear.  Super frustrating when trying to learn.  Geeze....

  • ScottShearer Profile Picture
    25,280 Most Valuable Professional on at

    @ComputerHabit2 

    Please post a screen shot of your Flow with more details and please show more of your Flow.  That will be a big help in trying to assist.

  • ComputerHabit2 Profile Picture
    on at

    I have to agree it does appear that my account manager value is returning multiple items.  I looked in the fields for this test and the field is actually empty.  So why does it seem to be pulling accounts from an empty field?

  • ComputerHabit2 Profile Picture
    on at

    I'm doing my best at figuring out what to post.  Here is the workflow.

     

    ComputerHabit2_0-1594321231284.png

    Here is what the lookup.

    ComputerHabit2_1-1594321295260.png

     

    The field is empty but returning data.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard