Passing external values to the bot using the bot URL
You can pass values to the variables from outside the bot as well.
Just add them at the end of your bot url.
e.g. https://app.botbaba.io/BOT_URL?name=John
In the above example, I am setting the variable name’s value to John.
Similarly you can pass on additional variable values as well.
e.g. https://app.botbaba.io/BOT_URL?firstname=John&lastname=Doe&city=Dubai
This will work with widgets as well.
Use Case – You can greet your website visitors with their name if they have previously submitted their name on your website or they are logged in, just pass their name in the bot URL and DONE!
Refer this article if you need help setting up the widget like this.