top of page

Download Knowledge base Details Using Cognitive Service And Microsoft Flow


In this article, you will see how to download knowledge base details using Cognitive Service and Microsoft Flow. I have created a simple SharePoint list with the following fields.

Flow Design

Get Subscription Key

  1. Navigate to Azure Portal here.

  2. In the left navigation, click Create a resource.

  3. In Azure Marketplace, search for "QnA Maker" and then click "Create".

  4. Fill all the required details and click Create.

  5. It might take a few minutes to deploy the resource. Click "All Resources" in the left navigation and then click the newly created QnA Maker resource.

  6. Click "Keys" under Resource Management, and copy the key value.

Create Knowledge Base

  1. Navigate to QnA Maker Portal from here.

  2. Create a new Knowledge Base and publish.

Create Flow

  • Navigate to flow site here.

  • In the top navigation, click "My flows".

  • Click "Create from blank".

  • Select "SharePoint – When an item is created" and select the Site Address and List Name, as shown below.

  • Click "Next Step" and search for QnA Maker as shown below. Select the "Download knowledge base details" option. 

  • Enter the following details and click "Create".

  1. Connection Name –a user-friendly name for the connection

  2. API Key – Copied from the above "Get Subscription Key" section

  • Add the dynamic content Knowledge Base Id (when an item is created – action).

  • Click "Next" and select "SharePoint – Update item". Fill all the required details and add the dynamic content (output from Download knowledge base details action) as shown below.

Testing the Flow

  • Navigate to QnA Maker Portal and get the Knowledge base Id as shown below.

  • Navigate to the SharePoint list and create a new item with knowledge base Id. After a few seconds, the flow updates the other fields, as shown below.



Thus, in this article, you saw how to download knowledge base details using Cognitive Services and Microsoft Flow.



bottom of page