How to make an useragent loop in a larger loop

Hi!

How can I rotate an useragent value and put it after a counting loop?

I would like to have a new user agent assigned every time the counting loop starts over.

I made the following, but I can’t get it into the loop within the large workflow:

Thanks in advance!