Hi Ricardo & All - I’m not sure how I missed this post, but wanted to let everyone know we released a solution on the HubSpot Marketplace a few years back that allows you to automatically delete tasks via workflow.
Since that’s the exact solution you were looking for and had requested, I wanted to follow-up. Here’s a link to the app listing page to learn more if you’re still in need of a solution.
Hope this helps!