Request to Add “Loop Until Condition Is Met” / Self-Repeating API Polling Support

Status: Open · Asked by Anil P on · 0 views

Anil P — Question ·

Hello Support Team,


I am configuring a multi-step action in Pabbly Connect that starts a call and then checks the call status through a GET API request.

I need the workflow to repeatedly call the status API until a specific condition is met.

Required flow

  1. Start the call using the first API action.
  2. Receive and store the call ID.
  3. Call the “Get Call History/Status” API using that call ID.
  4. Check the response status.
  5. If the status is still queued, ringing, or in-progress, wait for a specified interval and call the same API again.
  6. Continue polling until the status becomes completed, failed, busy, cancelled, or another final status.
  7. Once a final status is received, stop the loop and continue to the next workflow step.

Currently, the workflow executes actions only once and does not appear to support a true “loop until condition is met” or self-repeating polling mechanism within the same workflow execution.

Could you please confirm:

  • Whether this functionality is currently supported.
  • Whether it can be achieved using Multi-Step Actions, Delay, Router, Iterator, or another built-in feature.
  • Whether there is a recommended configuration for repeatedly calling the same API until the response meets a condition.
  • Whether safeguards such as maximum attempts, timeout duration, and polling intervals are available.
  • If this is not currently supported, please consider adding it as a feature.

Example logic

Start Call
   ↓
Get Call Status
   ↓
Is status completed or failed?
   ├── No → Wait 10 seconds → Get Call Status again
   └── Yes → Stop polling and continue workflow

This feature is important because call-processing APIs are asynchronous, and the final call status, recording URL, transcript, and other details may not be available immediately after starting the call.

I have attached screenshots of my current action and API configuration for reference.

Thank you.

Screenshot 2026-07-23 at 1.35.19 PM.png
Pabbly Support — Reply ·

Hello Anil,

Thank you for reaching out to us.

If you are using a Custom API Request, we assume you have already configured your workflow. Could you kindly share the workflow URL with us so that we can review it and provide more specific guidance?

Based on your requirement, you can try the following approach:

  1. Execute the Custom API Request to fetch the call history/status.

  2. Add a Delay step after the API request.

  3. Call the same Custom API Request again.

  4. Add a Filter to check whether the status is queued or in-progress.

  5. If the condition is true, add another Delay followed by the same API request again.

  6. You can repeat this sequence as many times as required, depending on the average time it takes for your calls to complete. Set the delay duration accordingly.

Once the API returns a status other than queued or in-progress, the filter condition will no longer be satisfied, and the subsequent polling steps will not execute.

Please note that this approach requires adding the polling steps manually based on the expected call completion time, as Pabbly Connect does not currently provide a native "loop until condition is met" or self-repeating polling mechanism within a single workflow execution.

If you have already created the workflow, please share the workflow URL with us along with your confirmation:

"I confirm Pabbly to access and test my workflow for troubleshooting purposes."

We will then review your workflow and guide you further.

Thanks & Regards,
Anushka Sahu
Customer Support Associate
🌐 Pabbly.com
Pabbly Support — Reply ·

Hello,

We hope you're doing well.

We're just following up on our previous email to check if you had a chance to review the information we shared.

If you have any questions or need any further assistance, please feel free to reply to this email. We'll be happy to help.

We look forward to hearing from you.

Thanks & Regards,
Anushka Sahu
Customer Support Associate
🌐 Pabbly.com

Back to all forum threads · Log in to reply