Window Switching

I'm not sure this is the right area to ask this question. I think Bettertouch tool may be able to do what I want but I can't seem to figure it out.

One of the problems when using an app like zoom, is that sometimes it takes window focus without being clicked on.

I'd like to be able to set a specific window to always be switched back to after a specified amount of time.

The pin/unpin does make the window float on top, but it doesn't keep focus.

Any help to make this simple macro would be appreciated.

edit:
I made some progress using "Wait for Change of Focused Window" and "Activate Specific Window" but when i add a Repeat loop to the Actions, the loop only goes once or it crashes the app.

Edit: I have a better understanding of how Repeat works and how wait for a condition works, but i can't find the right condition to identify the poll window in zoom stealing focus. I also can't figure out how to make the Repeat infinite.

Edit: I think i almost have it. I just don't have a way to make infinite Repeat with a way to exit the Repeat.