Hi everyone,
I'm working on an Architect voice flow where a Data Action calls an external API, but the final result may not be available on the first request.
The requirement is to poll the API every few seconds until either:
- the expected status is returned,
- a maximum number of attempts is reached, or
- an overall timeout is exceeded.
What is the recommended Architect design pattern for this scenario?
Would you normally use a loop with a short Wait action between Data Action calls, or is there a better approach for asynchronous API polling that avoids unnecessarily holding the interaction in the flow?
I'm especially interested in best practices around timeout handling, retries, and preventing excessive API calls.
Thanks!
#Architect------------------------------
Marciel
------------------------------