Calling API with list of variables until response is given?

Hi there!

Is there a way (also open to plugin) that would allow me to call an api with a list of variables as parameters UNTIL I get a response (at which point it would stop)? Think something like https://apiprovider/api/q:[query].json where query would be a list of inputs.

What I am trying to do is similar to what we can accomplish with repeating groups but I specifically want to be able to then select only the first non-empty response (or cell). The python equivalent would be breaking a loop I believe.

Thanks is advance, any help is greatly appreciated!

Yes there is. You can make a recursive workflow until it meets a condition where you’d want it to stop.

2 Likes