I have a flow and this last section is not working as expected. I want to email the team leader, for each entry in the "body" variable. The leader's name is saved in the data, so I used the search for users block to find their email.
However, The moment I add a send an email block using the add an action link at the bottom, it creates another Apply to each block ! It then looks like this:
How do I avoid this, please? In the search for users block I have even set the threshold to 1, hoping this will only return one email but I still get the issue.
Thanks
hi @v-chengfen-msft , Thanks for your reply. I ended up solving this by adding a Select and compose ( I think compose alone would have worked as well) before the email. So it now looks like this
Thanks
Hi @nicksawe ,
Can you tell me that you are sending emails to the leader of each record, are there multiple records for the same leader?
Can you show the apply to each for search user when the flow is executed?
Best Regards
Cheng Feng
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1