cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Send email to the first user found

Hi everyone, 

I created a visitor check in application. A flow sends an email to the person visited. 
personvisied.PNG

 

The problem is that users of my company may have multiple accounts. So they receive the mail twice. 

Would it be possible to send an email only to one user ? 

Thanks for your help

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

Re: Send email to the first user found

Found it ! 

the output of the last apply to each should be : 

take(body('Search_for_users'),1)

View solution in original post

1 REPLY 1
Highlighted
Anonymous
Not applicable

Re: Send email to the first user found

Found it ! 

the output of the last apply to each should be : 

take(body('Search_for_users'),1)

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
Users online (10,199)