Nov 26 2019 01:45 AM
I have created bot using below link
https://docs.microsoft.com/en-in/microsoftteams/platform/get-started/get-started-nodejs-app-studio
I want sharepoint list data into bot ,how do i get sharepoint list data into bot using node.js
Nov 26 2019 10:55 PM
@tejaswini1010 you can use the SharePoint API's to get the required data into your bot. Check below API documents. Please let me know if you are looking for something else.
Nov 28 2019 04:53 AM
hii ,
Thanks for reply, i have implemented that code in node .js for bot , i have made changes in bot.js file but still i get no reply from bot, my requirement is that , I have sharepoint list , in which i have saved questions and answer , i have made bot using following link
https://docs.microsoft.com/en-in/microsoftteams/platform/get-started/get-started-nodejs-app-studio
I want when user ask question , if it matches with sharepoint column of list that answer should displays in bot,
Nov 28 2019 05:19 AM
Nov 29 2019 10:43 AM
@tejaswini1010 For the scenario that you mentioned, looks like the QnA bot is the best suit. try this QnA bot sample code.
Nov 30 2019 12:23 AM
As i am new , i get confused, please provide me step, in that exsitance app how do i get sharepoint list data
Nov 30 2019 03:08 AM
Nov 30 2019 05:04 AM
Dec 02 2019 01:51 AM
@tejaswini1010 You need to use Sharepoint Api's to access the Sharepoint data in your Nodejs app.
- Call sharepoint authentication api
- Once token is obtained in authentication response, call api to get the sharepoint list
- Create model to handle the response of the previous api
- You need to write the logic to find the answer from the sharepoint list that you received in previous response.
After getting data from sharepoint in case if your bot is not responding - please cross verify the Bot settings
Dec 02 2019 01:55 AM