Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to create a flow that deletes an item in SharePoint when a file is deleted?

(0) ShareShare
ReportReport
Posted on by

Hi,

I want to create a flow in Power Automate that triggers when a file is deleted from a SharePoint document library. My goal is to then delete the corresponding item from a SharePoint list that matches the deleted file. I'm considering using a "Compose" action to store file details before deletion, but I'm unsure how to link the deleted file to the list item for removal.

Is it possible to achieve this? If so, could you guide me on how to set up the flow to ensure that the item is deleted when the corresponding file is deleted from the document library?

Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow