Delete user or Change username when (Expired)

So i have this workflow where an admin create someone account with the email and then send the reset password to the email

Now since reset password has Duration 24hour and after that it’s invalid

I want to delete that user since he/she didn’t visit the link or atleast tell the admin it is expired

i think the solution here is to create a recursive flow based on the created date and a status like is_passwordupdate?

I don’t know how can anyone teach me

When you send the email, schedule an api workflow that will run in 24 hours after the email is sent. This will trigger an API WF in your backend, in that WF create an action that will delete the User with condition if is_passwordupdate = no.

If the User update the password then change the is_passwordupdate = yes.

Thank You