Find out more about the chatbot’s external variables: externalDatas

External variables and global variables: what are the differences?

External variables must be set in the javascript object when you install your chatbot on your site. You can enter one or more personal details of a user connected to your website, for example.

External variables are different from global variables in that :

Global variables represent constants that will be used within the bot, such as: a support phone number, a postal address, and so on. They are common to all users (your support phone number does not change for each user, for example).

External variables are user variables that you specify when integrating the bot on your website. This allows you to pass on to the chatbot any user data you may have (the user is a customer of your company and logs on to your website, so you can pass on to the chatbot their customer number for use in your chatbot’s scenario).

Plus:
All about variables
How to install my chatbot on my website
Initialize your Chatbot’s variables with data from your website

➜ Discover Botnation and launch your chatbot easily!