Using Chatbots for IoT. From buzz to practice.

iQuest Group
Dec 19, 2017 · 6 min read

By: Tudor Bugnar, Software Architect, iQuest Group

‘Hi, I’m Luis, your Virtual Assistant. Did you notice that your equipment has a value that is above the normal equipment parameters?’

This is not spam, nor somebody trying to sell you something. It’s a chatbot, an AI-enabled application that can distinguish between closing a production line or reacting very fast to a problem and solving it.

Image for post
Image for post

By 2021, more than 50% of enterprises will spend more per annum on bots and chatbot creation than on traditional mobile app development says a Gartner report with predictions for 2018. This is a clear indication of how chatbots can change the way organisations interact with their customers.

What are chatbots and how do they work?

Chatbots are artificial intelligence systems that interact with humans through chat interfaces via messaging, text, or speech. A chatbot can respond to certain questions or give recommendations on different topics in a real-time manner.

“By 2020, the average person will have more conversations with bots than with their spouse, in fact, it is estimated that 85% of interactions will be with chatbots.” (Gartner)

Chatbots have a predefined workflow and help drive engagement and facilitate faster conversions by answering questions or even offering suggestions. Usually, we find chatbots in the following user scenarios to improve customer support:

Lately, these chatbots have been making their way into other domains as well, where they’ve proven to be useful, such as Industrial IoT and Software Development. These domains came into play because the chatbot engines can now be integrated into different communication channels such as Facebook Messenger, Skype, Slack, Skype for Business, Telegram, Bing, Kik, but they can also be easily integrated into your website.

A chatbot usually has the following sequence:

Our experience with Chatbots

We have created a chatbot using the Microsoft Bot framework and Microsoft Cognitive Services. The reason for choosing this frameworks is that it provides a unified set of tools to easily construct a bot in a couple of hours. More details regarding the tools provided by Microsoft to construct a bot are listed below.

There are also other alternatives on the market which you are more than welcome to try:

Below is the architecture of Microsoft Bot Ecosystem. It has the following components:

Image for post
Image for post

As mentioned earlier, bots are becoming very useful in our everyday life. The example below shows a bot that acts as a DevOps engineer and which is integrated in the dev team Slack channel.

Any team member can ask the bot about the status of the tickets in JIRA and initiate a deployment. The bot is trained to “wake up” when some specific text is sent in the channel and can start an interaction with that user.

Image for post
Image for post

The cool thing is that the deployment doesn’t require a DevOps engineer to be carried out. Even a project manager or business analyst can do this. Since it integrates with Jenkins, you, as a BA (business analyst) for example, can deploy for an alpha version to do a pre-verification with your customer.

A real-life scenario using Chatbot

At iQuest, we’ve created a bot that works together with a solution that monitors equipment in a ceramic factory. The bot is trained to guide the user in case any problems with the equipment appear.

Microsoft Bot framework enables a pretty sophisticated interaction with the user, allowing the bot’s response to be in HTML format, using their implemented technology named Adaptive Cards. This way, it is much easier for the user to interact with the bot, and for the bot to answer more precisely to the user’s needs.

Below is an example of interaction with our bot, in the case of an operator who has a problem with a robot battery:

Image for post
Image for post

2. Receiving information regarding the problem (in our case a robot battery). The bot offers alternatives for selecting different actions (in our case a robot manufacturer) to direct the user to the right flow.

Image for post
Image for post

3. Offering Support to the user (by giving advice, links to relevant cases in the knowledge database or links to internet search results).

Image for post
Image for post

4. Seeking feedback for improving its service. The feedback is collected and the team responsible for maintaining the chatbot adjusts different flows and the NLP (Natural Language Processing) algorithm behind.

5. Other bot usage — You can also use the bot to interact with external systems from your enterprise. Looking at the robot battery case above, the bot can help you to place the correct order for a new part in the company’s ERP (enterprise resource planning) to trigger the replacement process. Also, the bot can check the status of the order submitted.

To sum up, we can safely say that chatbots are slowly entering our daily processes because the AI algorithms are becoming accessible to anyone and the costs are decreasing. Also, the process of developing bots is becoming faster with the introduction of visual tools for modeling the flows.

So, are you looking closely enough at the next big customer interface? And the most important question, what role will you play in the next messaging chapter?

The Why and How

The iQuest Group blog, showcasing our latest work and ideas

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store