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

extract email from a sharepoint person list

i have a person column in sharepoint list , how do i extract the email from this person column so i can send email?

How do i set condition so that in 50 days, it will send out a email to the person? In 40 days, send to the supervisor?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @easyhelp :

Could you tell me:

  • Does the person column allow multiple selections?I assume it do not allow multiple selections.
  • What does 'in 50/40day' mean?Do you need to send mail within 50/40 days after the item is created?

If so,I've made a test for your reference:

For the convenience of testing, I assume that the email will be sent on the 30th day after the item is created.

1\My SP List

1.JPG

2\My flow

  • Trigger the flow everyday
  • List all items form the SP list
  • Filter out items created 30 days before the current date
  • Iterate through these items, find the user's email and his manager
  • Send email

1.JPG

Expression Reference:

1\

formatDateTime(addDays(utcNow(),-30),'yyyy-MM-dd')

2\

formatDateTime(addDays(utcNow(),-30),'yyyy-MM-dd')

 

Best Regards,

Bof

View solution in original post

3 REPLIES 3
Community Support
Community Support

Hi @easyhelp :

Could you tell me:

  • Does the person column allow multiple selections?I assume it do not allow multiple selections.
  • What does 'in 50/40day' mean?Do you need to send mail within 50/40 days after the item is created?

If so,I've made a test for your reference:

For the convenience of testing, I assume that the email will be sent on the 30th day after the item is created.

1\My SP List

1.JPG

2\My flow

  • Trigger the flow everyday
  • List all items form the SP list
  • Filter out items created 30 days before the current date
  • Iterate through these items, find the user's email and his manager
  • Send email

1.JPG

Expression Reference:

1\

formatDateTime(addDays(utcNow(),-30),'yyyy-MM-dd')

2\

formatDateTime(addDays(utcNow(),-30),'yyyy-MM-dd')

 

Best Regards,

Bof

View solution in original post

hI, 

Can u show of ur filter query and how do u extract the email from the person/group list column (in sharepoint)? There is no email column, 

Hi @easyhelp :

You can find a parameter in Dynamic content whose name is composed of "filedname" and "Email". Because the name of my person colum is "PersonColumn", the parameter in Dynamic content is named "PersonColumn Email".

Note:The person column do not allow multiple selelctions

Best Regards,

Bof

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (67,548)