Use Logic HTTP call return value in form redirect URL


I have a form with Logic which makes a HTTP call using a secret credential.
The HTTP call returns a JSON body and inside is property “url” which I would like to use as redirect URL (or render it embedded) on my page.

How can I use the result of the Logic Flow (the “url” property in the HTTP response body) as redirect URL or render it embedded on my page?