How to make a loop with Smartloop?

Hi guys how are you?

I'm trying to create a workflow using SmartQuery to classify some items, but I need to make a loop. Is there a way to make this happen?

Hey Gabriel! I'm doing well, thank you for asking :blush:

Are you looking for something like this?

https://docs.retool.com/docs/retool-workflows-blocks#loop

Unfortunately smart queries are not among the blocks one can use in a loop. So the best way to achieve that is to create another workflow, and call that workflow in the loop.