Apr

Building Facebook Messenger chatbot: what they forgot to tell you.

                                     

There are lots of written tutorials and online videos on this subject.

Yet many of them omit important details of the bot building process. These details may vary from one user to another and are difficult to describe in a unilateral fashion. Consequently it is easier for tutorial writers not to mention them at all. We try here to fill the gap and provide some additional clarity.

1. Creating Facebook app.

One of the first steps in building a Facebook Messenger bot is creating a Facebook App. It requires a business Facebook page. This might seem obvious to avid social users yet worth mentioning: a business Facebook page can only be created from a personal Facebook page. If you already have a business Facebook page move on to the next step. If you have a personal Facebook page go on and create a business page. If you are among the lucky ones that live without Facebook presence now is your chance to become like everybody else.

2. Getting SSL certificate.

Next you need to setup a webhook. Your web application is hosted on a web server and the webhook’s role is to establish connection between Facebook and your web application via your web server. In order for the webhook to work you need SSL certificate because Facebook supports only secure connections (HTTPS) to external web servers. So first, you need to purchase it. The costs change from one company to another but it is important to buy a reliable certificate otherwise Facebook might reject it. All major ISP companies offer SSL products. Second, you need to install it on your web server. The installation process can be tricky. Sometimes you can get technical help from the ISP company that sold you the certificate (as a rule of thumb, the bigger the brand the better their technical support is supposed to be. But the cost may be higher too). You can also rely on popular tools, such as keytool command utility, assuming you know how to use them. In any case, it might be a good idea to allocate several days, up to a week, for this step when planning your project.

3. Choosing the server environment.

Your options are (almost) unlimited. Many online tutorials use Heroku which is a cloud-based web application platform, but a simple Tomcat web server would suffice too. Your decisions should be based on your business requirements.  A lightweight server such as Tomcat is a good fit when it comes to web centric, user facing applications. If backend integration comes into play, a web application server should be considered.

Your choice of programming languages is also broad. PHP is one popular option, Java is another but the list by no means ends here. Your chatbot app communicates with Facebook using POST requests, so any language that supports web protocols will work. Again, make decisions having your business goals in mind.

Interested in reading more? Check out our other blogs:

What Is Conversational AI

                                                         

Conversational Artificial Intelligence solutions can communicate with people in their natural languages. The interactions happen via speech or text – our most common forms of interaction.

The most popular example of a conversational AI solution is chatbot.

The chatbot popularity began in 2016 with Facebook’s announcement  of a developer-friendly platform to build chatbots on Facebook messenger. Soon, chatbots became the buzz of the technological community and spread across various industries. As a next step, toolkits that helped build a bot in five minutes grew popular, companies raced to the market with new bot announcements and the world woke up to a new chatbot-based reality.

A well developed conversational AI chatbot is able to interact on a near-human level. If we think about it, most companies’ customer service and sales centers deal with a core of 6-12 repeating issues. conversational AI software allows companies to develop an intelligent response channel that can cover the most common customer interactions.

Another advantage in using Conversational AI is in the marketing and branding domain. Chatbots allow the companies to stay on their message without veering off course . With AI, the scripts are all written and approved in house. Even when the AI system learns, when the appropriate training techniques are implemented, the system will adhere to the required profrssional verbiage.

 

READ MORE

3 ways AI will increase your sales

                                                       

Many of us get the understanding of artificial intelligence from the film industry. It creates an image of smart, humanized machines that are helpful, efficient and omnipresent. It is true that AI has seen rapid advances in the past several years, to the point that it became an integral part of our everyday life.  In real life, however, AI is far away from the level portrayed in sci-fi movies. And yet there are affordable AI tools and solutions that can make a significant impact on your business.

Here are three main reasons why a company, especially if it is a B2C company, should consider integrating AI into their business process.

AI makes your sales process scalable

AI solution dealing with your prospects and customers works 24/7 without sick days, holidays and breaks. It can handle any level of traffic, incoming inquiries and conversations. It does not need to be trained. It does not have personal issues or bad days. It is always polite and uses professional jargon. It is fast.

AI creates better user experience

Some might find it surprising but this is only because they have experienced low quality AI solutions. A professional AI solution makes customer experience better primarily because it delivers the results with a minimum of fuss and maximum efficiency. A good AI eliminates bureaucracy, makes customer experience speedy and seamless, and that’s what consumers are looking for today.   

AI offers sustainability

Adding AI to your business model creates long-term sustainability for the business. It allows your business to grow while controlling, or even minimising the costs. More importantly, it ensures that the business remains competitive in providing the level of customer service consumers became accustomed to. Lastly, it creates platform for future technical improvements and integrations which, without a doubt, will be based on Artificial Intelligence components.

 

READ MORE