API help: Clear a user's list at midnight

I need help setting up a recurring API at midnight if it meets specific criteria. My challenge is that I don’t know how to debug it once set up.

I’d love some guidance!

Would really appreciate some here here…