How to Retry a Gemini Module Until Output Is Valid (With a Conditional Break)

To achieve a “loop” with your repeater module, you need to “close” the loop with an aggregator module.

To “break” out of a “loop”, you’ll need to use a module to throw an error, to proceed down an error route.

Have you seen these previous discussions?

Your question may have already been answered in these similar threads:

You can search this forum for existing answers, and also use the documentation in the Help Centre to get to a solution faster, and also help keep the forum organised. Thanks for your cooperation!

Still require assistance?

If the previous threads above does not answer your question, please edit your question and provide additional details to demonstrate the difference between your question and the duplicate discussions.

Hope this helps! If you are still having trouble, please provide more details.

@samliew