Mesibo Chatbot and Scripting - Introduction
mesibo chatbot & scripting platform allows you to add chatbots and custom message processing to your existing mesibo based apps without any modifications. You can add a chatbot and message processing to your app on all the supported platforms - Android, iOS, Web, Linux, Mac, and even Raspberry Pi.
For example, the following chatbot script will allow users to get weather status:
var weather_today = get_weather_prediction();
send_response("The weather prediction for today is"+ weather_today);
if("rainy" == weather_today)
send_respnse("Don't forget to take your umbrella!");
Just like the chatbot describe above, but you can do more than just respond, for example, filter, modify, translate, etc. before it reaches its destination and much more. You can attach a script to the user or entire app which will process each incoming and/or outgoing message sent on your app and decide the fate of the message.
For example, the following script will moderate and translate if requires:
// drop the message if profinity found
// pass the message as is if in English
// translate it and send
The best part is that the mesibo chatbot and scripting platform is available at no additional cost when you use mesibo on-premise; you can download the entire platform on your own servers and use it at no extra cost. Hence, there are no reasons for you to use any other platform that charges per conversation or charges per bot. In our opinion, such charges are simply exorbitant and unreasonable to developers. Mesibo is built by developers for developers and we tried to address many of the limitations of the existing platforms, both technical and otherwise.
It just three steps, your app will have chatbots or message processor.
Upload script in the mesibo console. It will be available in your script library. You can assign it to multiple users or the app as required.
Assign script to one or more users or the app so that it can be invoked where messages are received or sent by those users or for the entire app. You can also specify the direction (from and to) of the message.
That's it! You do not need to configure or install anything else or modify your apps. Just login to your application console, load your script and get going!
Note, you can use the same script for multiple users or different scripts for different users. You can even use different scripts for the same users in each message direction.
Note that chatbot and scripting platform can not work with mesibo end-to-end encryption.
In this part, we have learnt briefly about mesibo chatbot and scripting and what it can do.
In next part, we will learn more about how to upload and configure scripts on mesibo console