web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger an email to us...
Power Automate
Unanswered

Trigger an email to user when their name is selected in sharepoint list item

(0) ShareShare
ReportReport
Posted on by 119

Hi all

 

I have a Sharepoint list with a Person or Group type column which allows a user selection from Active Directory, when a user is selected, I would like an email to be sent to that user advising them that a list item has been assigned to them.  Please can I get some help with this?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Alison1,

     

    I would use a Get changes for an item or file action for this. With this action you can check if your person or group type column has a changed value. You can check if that is true in a condition. If Yes, you can sent an email.

     

    Below is an example of that approach.

    In this example my Person or Group type column is called AssignedTo btw. This sample also assumes you are only allowed to select one person in that person column.

     

    hascolumnchanged.png

  • Alison1 Profile Picture
    119 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Expiscornovus 

    Thank you for taking the time to reply, I appreciate your help.  I'm just working through this and am wondering which expression this is?

    Alison1_0-1664941730840.png

     

  • Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Alison1,

     

    Apologies, I forgot to share that expression in my reply.

     

    I know it is not very clear, but it is actually in the notes of the action directly above the Site Address field in the screenshot.

     

    Here it is as a code snippet:

     

    add(int(triggerOutputs()?['body/{VersionNumber}']),-1)

     

     

  • Alison1 Profile Picture
    119 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Expiscornovus 

     

    Thank you for your reply.  I tried again with the code. The flow runs, but unfortunately the email doesn't come through 😞

     

    The only thing that looks that there could be an issue is this:

     

    Alison1_0-1665037621603.png

    and the expression result of the Condition is false, not sure if that means anything.

     

    I'm probably doing something wrong as I'm very new to flow.  My column is called Owner

     

    Thanks

  • Expiscornovus Profile Picture
    33,181 Most Valuable Professional on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Alison1,

     

    It looks like the flow thinks the value in the Owner column has not changed since the last version.

     

    Lets double check the outputs. Can you expand the Get changes for a file or item action in that same flow history run and share the outputs as a screenshot?

  • Alison1 Profile Picture
    119 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Expiscornovus 

     

    Please see screenshots as follows:

     

    Alison1_0-1665277986482.pngAlison1_1-1665278015379.png

    Alison1_2-1665278057356.png

     

    Thank you!

     

  • Grant_Jenkins Profile Picture
    57 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi Alison - just been reading through the thread. It looks like it should work. Just to confirm, you need to check your Owner field has changed against the expression true, not just the value true. Are you able to share a screenshot of the condition?

  • Alison1 Profile Picture
    119 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Hi @Grant_Jenkins 

     

    Thanks for your help.

    Alison1_1-1665294827849.png

     

    Alison1_3-1665294991443.png

     

  • Grant_Jenkins Profile Picture
    57 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    It looks like you've added the wrong dynamic field in your Condition. You need to use the Has Content Changed: Owner instead of the Owner/Email from the Trigger.

     

    Grant_Jenkins_0-1665295331041.png

     

  • Alison1 Profile Picture
    119 on at
    Re: Trigger an email to user when their name is selected in sharepoint list item

    Yes it worked, thank you so much @Expiscornovus @Grant_Jenkins 🙂

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard