Hi @cyberco01 ,
Could you please share a bit more about your scenario?
How do you upload documents to your SP Library from the documents attached in your SP List? Using Microsoft Flow?
If you use Microsoft Flow to upload documents to your SP Library from the documents attached in your SP List, and want to remove corresponding document from your SP Library when the document removed from a SP List record, I afraid that there is no way to achieve your needs in Microsoft Flow currently.
The "When an attachment is removed from a SP List record" trigger is not suppoeted within SP Connector in Microsoft Flow, so there is no way to detect if a attachment is removed from a specific SP List record.
As an alternative solution, you could consider add a ListItemID column (Number column) in your SP Library to store the Item ID value of each record in your SP List, which could be used to identify which SP List Item the uploaded file belongs to:
I have made a test on my side, please consider take a try with the following flow's configuration:



Within the "Condition" action, left Input field set to following formula:
formatDateTime(triggerBody()?['Created'],'yyyy-MM-ddTHH:mm')
right input field set to following:
formatDateTime(triggerBody()?['Modified'],'yyyy-MM-ddTHH:mm')
middle condition box set to "is equal to".
Within the "Condition 2" action, middle condition box set to "does not contain", left input filed set to AttachmentsFileName variable initialized before. Right input box set to following:
item()?['{FilenameWithExtension}']
Within the "Delete file" action, File Identifier field set to following formula:
item()?['{Identifier}']
I have made a test on my side, and the flow works successfully. Please take a try with above solution, check if the issue is solved.
Note: I also provided my Sample Flow for you, please refer to it.
Best regards,