How to change the value of the input with an api call result

I have a button that on click triggers an api call that returns me a json, ive already try to trigger the fetch collection or find some way to bind the input with some variable with no sucess.

Im new on weweb by the way

Use change variable value, select the variable that comes from the input, bind to the result of the action(the bolt icon)

Thanks!