Share feedback, ideas and get community help

Updated 5 months ago

How can I get the typebot domain url and put it in a variable

At a glance

The community member posted about trying to use the "buble script" but being unable to save it to a variable. In the comments, another community member did not fully understand the request and suggested copying the domain URL from the "Share" section and pasting it into the variable. Another community member suggested using the code document.location.href, but noted that it would only work if the bot was executed using the provided URL from the "Share" tab. There is no explicitly marked answer in the post and comments.

I tried using the buble script but I couldn't save it to a variable
M
B
2 comments
I do not exactly understand your request.
The domain url is on the share section and you can copy it and paste in your variable.
You could use this code: document.location.href. It would only work if you execute the bot using the provided URL from the Share tab
Add a reply
Sign up and join the conversation on Discord