Using Bot Builder you design the logic of a chatbot. To then bring it to life so your users can interact with it, you must deploy it on one of the media, which include Web pages, Facebook Messenger and Twilio phone numbers. A key advantage of SmartBot360 is that you can deploy the same bot to multiple media to meet the users on their favorite medium.
Here are the steps to deploy a chatbot that you have created using Bot Builder. First, go the Deploy Chatbots page.
deploy to facEbook Messenger
Messenger can be tricky to work with, due to the several privacy and anti-spamming measures that Facebook takes to protect it users. SmartBot360’s goal is to shield you from all this complexity and provide a super-easy interface to deploy your bots on Messenger.
To deploy a bot on one of your Facebook Pages (you may not deploy a chatbot on your Facebook homepage, you must create a Facebook Page for that), follow these steps:
First, click on “Login with Facebook” button to login with your Facebook credentials. Grant any requested permissions when prompted. Then, all your Facebook Pages will be displayed.
To deploy a bot, as seen in below image:
Select the bot from the dropdown list
Click on “Select” for the Page where you want to deploy it
A new row is generated for the newly deployed bot.
Advanced Facebook Options
Enable Subscription Messaging: If you want to use the SmartBot360 scheduling features on your Facebook Page, you must request permission for Subscription Messaging for your Facebook Page from Facebook. This permission will allow the chatbots to initiate chats with your users. For that, go to your Page in facebook.com and do the following:
Under settings on the Page go to Messenger Platform and scroll down to Advanced Messaging Features.
Click on Subscription Messaging and fill out the form that will pop up. When done save draft.
Click on submit for review (this can take up to five days).
If you are denied this permission you must work with Facebook to submit a request that will meet all of their policies.
Option to use your own Facebook App: To deploy a bot on Messenger, you need to first create a Facebook App. SmartBot360 typically uses its own Facebook Apps to spare you this trouble. However, if you work on a dedicated SmartBot360 server, you have the option to use your own Facebook App. In that case, SmartBot360 will provide you with concrete instructions to setup your App and submit it for Facebook review.
deploy to phone number (sms)
SmartBot360 can easily deploy a bot on a Twilio phone number. Hence, you must first create a Twilio account. Then, follow these steps:
Select any Label (name) for your deployment, and fill the rest of the fields of the first arrow in below image, which come from your Twilio account, based on the displayed instructions when you click on the “Instructions” button.
Then select a bot (2nd arrow in below image) and click “Apply”.
These actions create a new SMS bot deployment.
deploy to web page
Scroll down to the Web Bot Deployment section. To deploy a bot:
Select a bot (1st arrow in below image)
Click on “Deploy Web Bot”
An HTML snippet will be automatically generated. Copy it and paste it inside your HTML page.
Sometimes you may want to deploy more than one bot on the same medium. For example, in the below image, we deploy two bots on the same Facebook Page. If the user types #stop at any time (even during the execution of another bot), the stopWellness bot starts (which unsubscribes the user from all scheduled bots). Else, the default bot, wellnessBot, is active. There can only be one default bot per medium (e.g. per Facebook page), that is, only one bot with empty hashtag.