How can we help?
< All Topics
Print

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.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Previous How to start the bot flow from a particular block?
Next How Triggers & Actions work?
Table of Contents