I have the following JS in a Create Variable block that was working fine to parse the URL of the browser but it seems to have stopped working. It was working fine before. The variable "location" is not populating with anything. There are no console errors:
Create Variable block sets first result as currentURL:
I don’t think it’s capable of returning anything into the typebot flow. I do something similar you can put it in the script on the webpage it’s starting from, and pass it through prefilled variables