I’m making a request to an AI end point, and I have to trigger the processing of an audio file.
I then have to wait until the processing is complete.
I need to check every 5 seconds (using a get request), to see if the processing is complete.
The get request response will change from “status”: “processing” to “status”: “complete”, once complete.
I can’t figure out how to do this.
I thought a repeater with sleep, but then I don’t know how to stop the repeater. Or maybe a repeater with a router, and some how stop the repeater when “status” changes to "complete.
@Msquare_Automation is not going to work because the HTTP call returns a 2XX not an error. The HTTP call get the file but the status is “processing”.
The repeater is the way to go @ali_bean, you just need to have a “get variable” module before your HTTP module that get the variable “status” and then have a “set variable” module after the HTTP call where you set the status of your file.