I have a details page that triggers a make-webhook via a api-call in a button.
The button triggers the automation successfully
I then want the page to reload after the automation is finished (maybe even have a way to show the user that the automation is still running, eg. a loading-screen, then I try to reload the page after the automation is finished.
→ the webhook response sends the page, but it only seems to work, if the automation is finished before the softr success message, if it takes longer, it does nothing, no redirect.
but i can’t get it working for the button. What do i do wrong? Do I need a similar custom code like in the form submission tutorial? I don’t know how to change the code though :-/
the problem seems to be that in the form, it waits for the response, but in the button it doesn’t wait, i get the “api call success” message, and then nothing happens, no redirect.
I’m no programmer, so I don’t really understand the code :-/