Show API progress

I am building an app, in which users can enter their api key and sync it with app.

I want to show loading percentage / show progress of how much time it will be needed to get the full API response to store in the bubble database? consider the response is a large data Can someone please help with how to do this

Hi mdharoonh,
One way you could achieve this is to create two custom states on your page to store the current progress/estimate time.
When the user initiates the API call, set the initial values of these custom states depending on the data. and then show them the progress bar element.
And you need to break down your API call into smaller steps and use Workflow actions to perform each step. After each step, update the custom states from the workflow, and here you go.

Ok, thanks.