Delete files in Sharepoint

Hello community!
I need to delete all the files in a sharepoint folder online. I have to use the sharepoint activities. So the thing is that there’s a delete activity for sharepoint, but I don’t see any way to go through the files and delete them (for each loop in the case of a local folder).
If anyone has a solution or method to help me get this done, i would really appreciate it.
Thank youCapture

this is kind of the same question as this one right? SharePoint activities, deleting files