cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnuT
Frequent Visitor

How to add owners list dynamically in the To line to get outlook emails

Hi all,

 

Created a flow and added 3 to 4 members as owners. All members need to get an outlook email whenever particular action triggered. How to add owners list in the To line to get outlook emails. It's not simply hardcoding the email Ids, we need to capture the owners list dynamically.

 

Thank you for your help in advance,

Anusha

5 REPLIES 5
Dev_Nikhil
Advocate III
Advocate III

Hi @AnuT

 

You simply can create an Owners list with column people picker or Simple text which contains the email address of the user whom we want to set.

 

than after you'll just have to get items Action for that Owners list and set that List Values of people picker or Email text into the "Send an Email"  TO: Field.

 

Hope it would help you.

 

Thanks and Regards

Dev_Nikhil

GabrielStJohn
Microsoft
Microsoft

Hello, @AnuT!

 

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @Dev_Nikhil‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



ScottShearer
Super User
Super User

@AnuT:

 

Here is an example of a Flow using  a separate list that stores approvers names in a person or group column.  In the approvers list, there is one row of data for each approver.
When the Flow starts, I use get items to retrieve all rows from the approvers list. Then I append each approvers email followed by a semicolon (;) to string variable.  When I send the email, I use the variable for the addresses.
 
MultiEmail1.jpgMultiEmail2.jpg 
 
If this addresses your issues, please mark your post as Solved.
 
Scott
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
chandrashekhar
Advocate V
Advocate V

Hi @AnuT,

 

1. Create a sharepoint group and add all users in it.

2. https://blog.portiva.nl/2018/06/05/microsoft-flow-perform-actions-on-users-in-a-sharepoint-group-usi...

 

See steps in link above  and get users from sharepoint group, its pretty simple and nicely given

 

3.  Its tried and tested and workd fine.

 

4. Say Thanks to Rik de Koning the owner of link in step 2.

 

Regards,

Chandrashekhar,

Pune, India.

GabrielStJohn
Microsoft
Microsoft

Hello, @AnuT!

 

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @chandrashekhar‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

 

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,525)