Close window after webhook call

Activepieces passes it in the body of the HTML as a string, so the script is part of that string and does not work
image

I found in the forum this workaround for redirects

I wonder if there is a similar “hack” to close the window instead of a redirect