@rainmanjam , it’s just a matter of engaging “false” output of the node. If you want to continue looping over the items, connect “false” output of the IF node with the input of the Loop.
@barn4k What I’m trying to do, based on a list of base keywords, is find news articles and evaluate them on the LLM to see if they match my niche. If it’s a match, save it to nocodb. I’m running into an issue if the LLM returns false for everything for all of the articles in the batch, the workflow would complete successfully instead of continuing with the next loop (picking up another keyword to pass to HTTP Request.
@rainmanjam , I think you need to rebuild your workflow with two loops. As nested loops are not encouraged, here’s the improvised solution to demonstrate what I mean. Hopefully you can correlated it with your own workflow.
The idea is to
Accumulate all the article titles for your keywords in the 1st loop
Evaluate them with LLM in the 2nd loop
Note: ignore me setting the title names with expression ["A{{ $runIndex }}", "B{{ $runIndex }}"] - this is just to make the titles unique and show you what loop iteration they belong to. In actuality, with each iteration of the 1st loop you should get different titles as well as different number of titles.
@rainmanjam , yes, that is what I meant. Technically the 1st loop is not required - without the loop you would get the same result. The 2nd loop is doing the job you had trouble with.