Send an Email When an Item is Deleted in SharePoint via Power Automate

In this Power Automate tutorial, I will show you how to send an email when an item is deleted in SharePoint via Power Automate.

Here, I have a SharePoint list, and I will show you how to send an email notification when an item is deleted from a SharePoint list through Power Automate. This is a requirement that I got from one my client recently.

Scenario

For this, I have taken a SharePoint Online list named ‘Task List’ as a reference to implement a Power Automate flow.

The Task list has different datatypes, as mentioned in the table below:

Column NameData Type
Task NameTitle – Renamed it to Task Name
Task DescriptionMulti Lines of Text
Start DateDate and Time Column
Assigned ToPerson or Group Column
StatusChoice Column
ManagerThe person or Group Column
sharepoint send email when item is deleted

Whenever an item is deleted from the above SharePoint list, the task manager will receive an email notification about details of the deleted item, such as:

  • Item Name
  • Deleted by
  • Assigned To
  • Task status

The screenshot shown below will represent the information of deleted items in a SharePoint list:

sharepoint send email when item is deleted power automate

Follow the below step-by-step guide to build a Power Automate Automated cloud flow:

Send an Email If a SharePoint List Item is Deleted using Power Automate

Now, I will explain how to build an Automated cloud flow in Power Automate that will send an email notification to the manager when an item is deleted from the SharePoint list.

  • Sign in to the Power Automate account through Microsoft credentials.
  • Create an Automated cloud flow with a trigger When an item is deleted and provide below details:
    • Site Address: Select a site address from drop-down.
    • List Name: Select the list name from the drop-down menu.
Power Automate notify a Email when a SharePoint list item is deleted
  • Add Get item action under the trigger and set the below details:
    • Site Address: Select a specific site address from drop-down.
    • List Name: Select the List name from the drop-down menu.
    • Id: Get the ID from dynamic content.
@{triggerOutputs()?['body/ID']}
Send an Email When an Item is Deleted in SharePoint via Power Automate
  • Next, add a Send an email (V2) action and provide below details:
    • To: Provide Manager email from dynamic content.
    • Subject: Enter a subject for an email.
    • Body: Enter detailed information regarding mail as shown in the below code.
Hello @{outputs('Get_item')?['body/Manager/DisplayName']},
Hope you are doing well!

An item named '@{outputs('Get_item')?['body/Title']}' is deleted by @{triggerOutputs()?['body/DeletedByUserName']} from the Task List.
The provided details below will represent deleted items:

Item: @{triggerOutputs()?['body/Name']},
Deleted by: @{triggerOutputs()?['body/DeletedByUserName']},
Assigned To:  @{outputs('Get_item')?['body/AssignedTo/DisplayName']},
Task Status:  @{outputs('Get_item')?['body/Status/Value']}.

Thanks & Regards
Power Automate
sharepoint send email when item is deleted using power automate
  • Once the flow has been created, Click on Save and Test the flow manually first.
  • After that, Test it Automatically to trigger when an item is deleted from the SharePoint list.
Power Automate Send email if SharePoint Online list item is deleted
  • Whenever an item is deleted from a SharePoint list, the flow runs successfully and sends an email notification to the manager as shown below:
Send an Email Notification When a SharePoint Item is Deleted via Power Automate

This is how to send an email notification when an item is deleted from the SharePoint list using Power Automate flow.

Conclusion

Through this Power Automate tutorial, I have described how to send an email notification to the manager when an item gets deleted from the SharePoint list through Power Automate flow.

You may also like:

>