[SalesForce] How to iterate a loop in a flow

I am very new to flows and I'm not yet still familiar with its workings.
So I have flow that has a loop that supposed to iterate depending on the User's decision.

As you can see from the image below, after the creation of a custom object called "Delivery Note", I want to create multiple child objects called "Delivery Note Item" under it.

I was thinking that I could create a loop that will only terminate if I say I no longer want to create new Delivery Note Items. However, when I debug this flow, the loop will just end because the collection variable I set on the Loop is empty.

Most of the loops I see is that they first have a "Get Records" before the loop to add records to a collection and then use that collection to iterate the loop.

How can I do this when the Delivery Note Items are still to be created?

Thanks.

enter image description here

Best Answer

Don't use the loop element, build the loop with the decision element :) enter image description here

I hope this helps :)