Pages Menu

Posted by on Mar 2, 2018 in Bot Framework | 0 comments

Building an FAQ Bot using Azure and QnAMaker without writing any code: Part 2

Building an FAQ Bot using Azure and QnAMaker without writing any code: Part 2

Anyone can now build a Bot with Artificial Intelligence that can answer questions and provide information. You DO NOT need to be a developer! In this 3 part series I walk through exactly how to do this. You can also watch the video walkthrough here:

In part 1 we looked at using QnAMaker to build an artificial intelligence model of questions and answers, to provide intelligence to your bot. Now, we’re going to look at building that bot.


The bot we’re going to create is provided by Microsoft Azure, so if you don’t already have an Azure account then you’ll need to sign up for one (which is free).

From the Azure Dashboard, click Create a Resource and search for Web App Bot to find the Microsoft-published Web App Bot. Click Create to load the creation wizard:

Most of the settings are self-explanatory, but there is one really important change to make. In the ‘Bot Template’ section, be sure to click the panel to reveal the different options, and then choose the ‘Question and Answer’ template. This will ensure we create a bot that is capable of working with QnAMaker to provide answers to questions.


Once you’ve filled out all the required values, click Create to provision your bot. This process will take a few moments, and you will be notified when it’s finished via the Notification pane top-right.

Once the bot is created, navigate to it in Azure. It should look something like this:

Although we’ve only just created it, and haven’t done any configuration yet, we can actually test out our new bot, thanks to a clever feature that’s built into Azure Web App Bots. From the menu on the left-hand side of the page, choose Test in Web Chat. This will open a Web Chat window where you can interact with your bot. This is useful to make sure that everything is working.

Right now though, you see that every message you send to your bot returns the same message: “Please set QnAKnowledgebaseId and QnASubscriptionKey in App Settings. Get them at”

Clearly, there’s still some setup work to do. Our new bot doesn’t know anything about our Knowledge Base collection of question-answer pairs from QnAMaker. In part 3, we’ll fix that up.

Useful Post? Why not subscribe to my weekly newsletter of blog posts to make sure you don’t miss anything. This will include the 3rd and final post in this series.

Written by Tom Morgan

Tom is a Microsoft Teams Platform developer and Microsoft MVP who has been blogging for over a decade. Find out more.
Buy the book: Building and Developing Apps & Bots for Microsoft Teams. Now available to purchase online with free updates.

Post a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.