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

Flow email notification

Hello All, 

 

I created a flow that is linked to a Sharepoint list which contains fields of names in which an admin can act on behalf of a different user and enter their info.  Flow currently sends the email notification to the user whom created the item but I would like flow to send it to both users if the "Name" field differs from the person whom created the item.  How do I go about doing so? 

 

Thank you in advance for your assistance!  

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Flow email notification

Hi @Anonymous try a Flow similar to this:

 

Initialise a variable which will contain the email addresses of who you're going to send the email to.

 

Add a condition which compares the user in the "Name" field and the user who created it

If they are different, then set the variable to both the email addresses

If they are the same, set the variable to just one

 

Then when you send your email, simply use the variable in your To value.

 

In my example, I have a field called "Book For" which is a user field in SharePoint.

 

SendEmailTo.PNG





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

View solution in original post

1 REPLY 1
Highlighted
Super User
Super User

Re: Flow email notification

Hi @Anonymous try a Flow similar to this:

 

Initialise a variable which will contain the email addresses of who you're going to send the email to.

 

Add a condition which compares the user in the "Name" field and the user who created it

If they are different, then set the variable to both the email addresses

If they are the same, set the variable to just one

 

Then when you send your email, simply use the variable in your To value.

 

In my example, I have a field called "Book For" which is a user field in SharePoint.

 

SendEmailTo.PNG





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!
If you liked my response, please consider giving it a thumbs up. THANKS!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,657)