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

Get Email Address from Selected Person in People Picker and Send an Email

Hello experts,

 

I am a newbie at using PA aka Flow and now have a requirement where I need to be able to send an email to the person selected in a People/Group column on my SP list.  I have researched the internet and these forums but have not found a post with the exact issue as mine.  

 

I have started with "When an item is created\Get item\Select, however there is no dynamic content available for the From in the Select action.  Can anyone help?  Much appreciated.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

You don't need the select.  If you are doing a Get Item then the Email address of the person selected will show up in dynamic data as Columnname Email.  You can just use that directly to send the email.  If the column allows multiple peopel to selected then you'll need an Apply to Each loop to process the column.  in each loop add the dyanmic email column to a string variable followed by a semicolon.  When you exit the loop you will have a string variable with a semicolon delimited list of emails.  You can use that variable in the Send an Email



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

6 REPLIES 6
ChristianAbata
Super User II
Super User II

hi @Anonymous  Select needs an array as parameter, so maeby you can use select Items liks this.

items.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Anonymous
Not applicable

I understand that it needs an array but nothing at all shows up in dynamic content to choose from.

Pstork1
Dual Super User III
Dual Super User III

You don't need the select.  If you are doing a Get Item then the Email address of the person selected will show up in dynamic data as Columnname Email.  You can just use that directly to send the email.  If the column allows multiple peopel to selected then you'll need an Apply to Each loop to process the column.  in each loop add the dyanmic email column to a string variable followed by a semicolon.  When you exit the loop you will have a string variable with a semicolon delimited list of emails.  You can use that variable in the Send an Email



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Anonymous
Not applicable

CRR_Flow.JPG

 

Here is a screen shot.

@Anonymous  you are using get item, and needs get items.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Anonymous
Not applicable

Thank you pStork1.  I knew this wasn't supposed to be so complicated.  Ugh!  The flow is working now.  Thanks again!

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (44,381)