cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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
Community Support
Community Support

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

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

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 (63,313)