Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Send an email to the PERSON column

(0) ShareShare
ReportReport
Posted on by

Hi,

 

So I have a Sharepoint List and it it is a 'PERSON' column that can be used to select the name of someone in our organisation.

 

I also have a flow which checks the date in the list and sends an email to the person who submitted the form. That part works ok.

However I'd like to also CC in the person named in the 'PERSON' column, but I get an error when just dropping this name into the 'SEND AN EMAIL V2' cc box.

 

Can anyone advise on thecorrect way to do this?

  • Community Power Platform Member Profile Picture
    on at
    Re: Send an email to the PERSON column

    Using the dynamic select is fine. 

     

    Can you just hover on the "value" icon to confirm that it's indeed from "Get Items" connector? 

     

    From what I see we have identical setup, so it's strange that it works only on mine. : / 

     

    One trick that I use to get the proper "value" reference is to have a blank "Send e-mail" connector & select in the CC field directly a property from the dynamic selector. This is the way I got the setup I showed.

     

  • Barking_Mad1 Profile Picture
    on at
    Re: Send an email to the PERSON column

    Ok, so I have:

    Barking_Mad1_0-1676993994863.png

    Barking_Mad1_1-1676994065584.png


    I didn't type: 

     

    outputs('Get_items')?['body/value']

    because 'Value' (List of Items) appeared in the dynamic content. And when I do type it, it still appears as an Output...

    Barking_Mad1_2-1676994297768.png

     

    Thanks for the help....



  • Community Power Platform Member Profile Picture
    on at
    Re: Send an email to the PERSON column

    Hi again,

     

    You are on the right track.

     

    In my code I have a "List items" connector named "Get Items" and that's what I'm referencing in outputs(). Try switching the name to the one used in your flow. (it should be the connector where you fetch the rows from the Share Point list.)

     

    The above error - "Correct to include a valid reference to..." is usually when you write a code that references something that doesn't exist in your flow. 

     

    P.S. Here is the complete flow setup. Outputs('Get_items') references the list that is returned on the second step. 

     

    PetarHr_1-1676993086667.png

     

  • Barking_Mad1 Profile Picture
    on at
    Re: Send an email to the PERSON column

    Thanks for the reply, appreciated. I should have mentioned the email sits at the end of a single condition, not that it should make much difference. Anyhow...

     

    Im having an issues getting: 

    outputs('Get_items')?['body/value']


    to display properly, see below. 

     

    Barking_Mad1_1-1676989461869.png

     

    Am I doing something wrong? The Flow Checker returns:

    Correct to include a valid reference to 'Get_Items' for the input parameter(s) of action 'Apply_to_each'.

  • Community Power Platform Member Profile Picture
    on at
    Re: Send an email to the PERSON column

    Hi Barking_Mad1, 

     

    If I get your question correctly referencing the Email property of that column will do the trick. 

     

    In my setup I have a table with trainings where the column "Trainer" is a "person or group" type. The structure looks like below. 

    PetarHr_5-1676987285378.png

     

    So, to use it in E-mail CC field you can: 

     

    1. Scenario - you want only the first user in the Person field - you nest everything in 1 Apply to each and use the first() method

     

    PetarHr_1-1676984673184.png

     

    Value in "Apply to each" is:

     

    outputs('Get_items')?['body/value']

     

    Value in "Send e-mail" CC is:

     

    first(item()?['Trainer'])?['Email']

     

     

    2. Scenario - you want to send e-mail to all the users in the person column, CC-ed in a single e-mail. 

     

    Using Select to extract the e-mails as below: 

    PetarHr_3-1676987064669.png

     

    Select From: 

     

    items('Apply_to_each')?['Trainer']

     

    Select Map:

     

    item()?['Email']

     

     

    CC field:

     

    join(body('Select'),';')

     

     

    Hope this helps!

     

    If I was able to answer your question, please consider marking it with "Accept solution" so other platform users can benefit from it. Thanks! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492