Is that possible to do while loop with rules api?

For notifications to alexa I use Web Requestor and EdgeBridge. TXT I just use the ST routine.