Get startedGet started for free

Next up: completing the feedback loop

1. Next up: completing the feedback loop

Cool! Your 3-agent chain is producing scored optimization ideas.

2. The final stretch

Now it's time to close the feedback loop. You have the Judge's output parsed and a final score calculated. The next step is adding an IF node that checks whether that score is above 7. If it is, the ideas are good enough, and the workflow moves to the final output. If not, the workflow needs to retry. But you can't retry forever. In the last exercise, you'll add a second IF node that checks whether the retry count is still below 3. If retries are left, a Set node increments the counter and stores the Judge's critique in the feedback context variable. Then you'll wire that Set node back to the Loop Merge node, closing the loop. On the next pass, the Idea Generator will read the critique and use it to improve its suggestions. If the score is good enough or all 3 retries are used up, both paths lead to a Final Output node that packages everything: the landing page URL, goal, audience, the generated ideas, evaluation criteria, and the Judge's assessment. Once that's wired up, you'll run the full workflow end to end and watch the execution path light up. You might even see it loop back a couple of times before producing the final result.

3. Almost there!

Two more exercises and your conversion rate optimizer is complete. Let's finish it!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.