How to create a correct sequence of requests with looping?

Maybe this will help you: