Tuesday, January 1, 2019

Skype Chatbot Using Microsoft Bot Framework and Node Js

Chatbot, a computer program that simulates human conversation, or chat, through artificial intelligence. Typically, a chat bot will communicate with a real person. Chat bots are used in applications such as e-commerce customer service, call centers, and Internet gaming. They can transform the way you interact with the internet from a series of self-initiated tasks to a quasi-conversation.

A Skype Chatbot gives last Invoice Amount of the Client/Customer.

Making a Chatbot can be a bit tricky initially, due to the way you have to structure your code.

In this post, I want to show how you can deal with a Skype Chatbot using Microsoft Bot Framework and Node Js as it's open source scripting language.

As it's POC I'm hosting it on open source ngrok server but it uses Http protocol which is not secure.


For security, we should host it on Azure. Below is the starting price for hosting.


Skype Chatbot is showing last Invoice Amount of Client.


Here Database connection is required to fetch data from dB. Functional Developer should create a Connection with Database and fire a Query instead of "Parth Dave" text. 

Right now I'm using a value of Current Username as Parth Dave which I've got from username.sync() (Node Js function).


Even We can use the Cognitive Service of Microsoft (LUIS) but it's not fully open source. Only 10k calls per month are free.

We can use Chatbots to drop an Out of Office message, too.


You have now leveled up by knowing how to deal with a Chatbot. I am attaching Source Code for your reference.