Hi @CruzBinet ,
The "delete file" action require a "unique id" of the file instead of the File name.
You should use the trigger "When files are added or modified (properties only)" of sftp connector, the trigger "When files are added or modified (properties only)" of sftp connector would have a "Id" dynamic content for you to use to delete the file. And you could add a "Get file content" action to get the file content and create the file in the sharepoint.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.