How does Repeat Actions work

That's fine, but not reflective of understanding how the platform works. Why would you do it that way? Why not just trigger off the door closing?