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:

Welcome to the Make community!

Take a look at the following:

The only method closest to a do-while loop in programming in a Make scenario is a repeater-error.

For more information, see

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!

2 Likes