How to use loops in your no-code agent?
Use loops when you need to rerun a node or part of the flow multiple times.
- The
Promptnode gets the initial image as an input and runs the LLM to identify the landmark. - The
getWeathertool is called with the location of the landmark as input. - The output of the
getWeathertool is connected back to thePromptnode. - The
Promptnode runs again with the updated context and returns an assistant message to move the chain forward. - The
Final outputnode gets executed and the chain completes its execution.
View run logs button in the bottom toolbar.
