cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

When there is an item added to a SharePoint list, an email is sent to the person assigned

Hello all, 

 

I am wanting to create a flow that does the following. I have a SharePoint list called Actions, this list is basically a check list of items for employees. Currently they have to go into the list and filter for their name in the AssignedTo column. There is also a column that I have made to autofill with their email address. I would like a flow that sends a summary email once a week with the action items assigned to employees.

 

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: When there is an item added to a SharePoint list, an email is sent to the person assigned

Hi @ICC_alyssa,

 

What is the type of the AssignedTo column in your sharepoint list?

Do you want to send an email to the AssignedTo person when an item is created in the list, or do you want to send a summary email once a week with the action items assigned to employees?

 

If you want to send a summary email once a week with the action items assigned to employees, I have made a test on my side to create a AssignedTo column with Person type,the sharepoint list as below:

Capture.PNG

 

 

You could refer to screenshot below to create the flow:

Capture.PNG

Capture.PNG

 

The expression in the Compose as below:

union(variables('AssignedToArray'),variables('AssignedToArray'))

The expression in the Filter Array as below:

@equals(item()?['AssignedTo']?['Email'], items('Apply_to_each_2'))

The Title expression in the Create Html table as below:

item()?['Title']

 

The AssignedToEmail expression in the Create Html table as below:

item()?['AssignedTo']?['Email']

 

The flow would run successfully as below:

Capture.PNG

 

Each AssignedTo would recieve an email with the related items, and the user Test2 would recieve the email as below:

Capture.PNG

 

Best regards,

Alice

 

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: When there is an item added to a SharePoint list, an email is sent to the person assigned

Hi @ICC_alyssa,

 

What is the type of the AssignedTo column in your sharepoint list?

Do you want to send an email to the AssignedTo person when an item is created in the list, or do you want to send a summary email once a week with the action items assigned to employees?

 

If you want to send a summary email once a week with the action items assigned to employees, I have made a test on my side to create a AssignedTo column with Person type,the sharepoint list as below:

Capture.PNG

 

 

You could refer to screenshot below to create the flow:

Capture.PNG

Capture.PNG

 

The expression in the Compose as below:

union(variables('AssignedToArray'),variables('AssignedToArray'))

The expression in the Filter Array as below:

@equals(item()?['AssignedTo']?['Email'], items('Apply_to_each_2'))

The Title expression in the Create Html table as below:

item()?['Title']

 

The AssignedToEmail expression in the Create Html table as below:

item()?['AssignedTo']?['Email']

 

The flow would run successfully as below:

Capture.PNG

 

Each AssignedTo would recieve an email with the related items, and the user Test2 would recieve the email as below:

Capture.PNG

 

Best regards,

Alice

 

View solution in original post

Highlighted
New Member

Re: When there is an item added to a SharePoint list, an email is sent to the person assigned

Thank you! This is exactly what I needed. Happy Holidays!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (4,620)