Implementing Repeater Logic to Manage AI Agent Responses

I’m creating a scenario where I employ an HTTP request to obtain a response from an AI agent. However, it consistently returns “in progress,” requiring me to either wait or rerun the scenario. I’m considering implementing a repeater, but I’m unsure how to configure it to halt once the status changes to “complete.”

Scenario Outline:

  1. Initiate an HTTP request to the AI agent.
  2. Receive a response indicating “in progress.”
  3. Repeat the request until the status changes to “complete.”
  4. Halt the repeater upon receiving the “complete” status.

How can I configure the repeater to stop execution once the status changes to “complete”?

Scenario:

Take a look at the following:

2 Likes