Hi @AFernandez ,
I added a Delete attachment action and saved the flow. I got the same warning as yours.
This is becuase after the flow deletes the attachment of the list item, at the same time the list item is modified. And as soon as the list item is modified, the flow will be triggered again since the trigger of the flow is "When an item is created or modified". So you got the infinite trigger loop warning.
As per my test, the flow can be exectued successfully and this warning didn't affect the flow to delete attachements after uploading the attachment to the library. It is just a warning and not an error. You can ignore this warning since it doesn't cause any negative impact on your requirement.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.