cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ICC_alyssa
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
v-yuazh-msft
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
v-yuazh-msft
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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (26,614)