Roborock S5 automation based on when it last historically run

Trying to automate the roborock s5 to run if it hasn’t run it in a few days based on when it last historically run. I have another automation in place for when I leave the house the roborock runs, appreciate any help