Repeating time based triggers run with lid closed?

Hi,

I have a couple of Shortcuts set up to run every 5/10 minutes and I am using the Repeating Time based trigger to do so, but I wanted to find out if there is a way to add more conditions to when they run.

First of all, one trigger seems to be running when my mac is in sleep mode, but I cant be sure. Is there a way to only run these if the mac is awake? Ive looked at the Advanced Conditions but I can't tell which option this would be if so.

Also I would like to only run if Zoom isnt open. So if thats the case, I assumed a CAG would be the way to go, but Im wondering how would the time intervals work in that instance. I.e. would the time restart counting once Zoom is closed?

Also, if there is a better way to do this please let me know! I wondered whether a different trigger might be better?

Thanks