Skip to main content
Use Loop to repeat steps until they produce what you need. An end condition checks each iteration’s output, and max_iterations caps how many times the loop can run. When to use: When you need iterative refinement, quality assurance, or when the required output quality can’t be guaranteed in a single execution. Ideal for research gathering, data collection, or any process where “good enough” is determined by content analysis rather than a fixed number of iterations. Install dependencies:
loop_steps_workflow.py