Chatbots
A chatbot acts as a virtual agent with users. It is trained by using Artificial Intelligence (AI) software to stimulate conversations with users in a natural language through telephones, websites, messages, and mobile apps. It saves time and money and improves the customer experience, reducing the need for human intervention for any business in all messaging channels. A chatbot responds based on the input from a user to any messaging channel, these are smart chatbots that answer questions. They receive the questions, process them by understanding the question using cognitive services (LUIS.AI, IBM Watson, etc), and then deliver the answer that the user needs through the messaging channel. Chatbots are more useful for giving quick support to customers (Users) without any resource (employment) dependencies, we can utilize these chatbots by engaging customers at the Enterprise level as virtual assistants. A chatbot is able to speak, listen, and understand your users with native integration to Azure Cognitive Services.

Chatbots Benefits
- To automate a business process,
- For 24/7 Customer support,
- Supports multiple messaging platforms like Skype, Teams, webchat on the website, Facebook Messenger, WhatsApp, telegram, etc,
- Connecting with cross-platform services,
- Proactive interaction with customers or users.
- Serverless and PAY-AS-YOU-GO services (Cost-efficient).
Now we start with creating Azure resource group & web app bot services (PAAS) services for echo bot in the Facebook messaging channel, Go to http://portal.azure.com/ and log in with your Azure credentials. Now create a new resource group to maintain all our app services in a single resource group.
Steps
- Login to your http://portal.azure.com/
- Go to Resource Group and click new to create a new resource group.

Click on the Review + Create button and it will validate with subscription details, naming for the new resource group name and Selected region to deploy our resources in selected datacenter regions.
- Subscription: You can select your subscription details(one ID has multiple subscription details, as of now I'm showing with Azure for students subscription for demo).
- Resource Group: AZRG-PAAS-CBPR (Follow some coding standards to maintain multiple resource groups for your organization. Here I'm following simple naming standards like AZRG(Azure Resource Group)-PAAS(Platform as a Service)-and CBPR(Chatbot Program Review)).
- Resource Details: We need to choose resource-deployed regions(choosing data center regions to deploy our resource group).
These details are very important to maintain in the documentation for the developer's future use, we can get quick customer support from Microsoft by using the above details in the resource recovery time period.

Once validation is passed, please click on the create button to create a new resource group.
Now go to home and click on resource group to validate whether new resource groups are created or not. Open the resource group and click on the Add button shown in the below figure.

Click on the +Add button to add apps to the resource group.

Type Web app bot in search for quick results or else you can click on AI+ Machine learning. In this category, we have an option to Web App Bot.

Click on the Create button and fill in the details as shown in the below figures.

We need to fill Bot Handle(Bot app service name), Subscription details, Resource group, Location, Pricing tier, App Name(Default generated), Bot Template with C#.Net, App service plan, and Application insights & its location. These fields are mandatory to onboard a new chatbot.


Click on the Create button to create web app bot services.

Once the deployment is done, we get below four services.
- Web App Bot
- Application Insights
- App Service plan
- App Service
Register an account at http://developers.facebook.com/ and create a new app for our Facebook page messenger channel.

Creating a new App with a valid name and contact email ID is mandatory. In the future, if we’re going with any app review for accessing all webhook services from Facebook, they’ll communicate with a registered email ID based on the app ID.

























Sourav Kumar DasPosted Nov 13, 2019, 4:01 AM
Nice and well explained article.
Raj KumarPosted Nov 12, 2019, 10:13 AM
Nice and well explained article, i will surely create some chat bots once get some time. Thanks for sharing...