Open barissecen opened 4 years ago
İntegration with microsoft teams has been achieved but how can I get the user session info and pass through to dialogflow. Because I would like to know who is typing to the chatbot?
Hi @barissecen, is this 'Microsoft Teams' integration is open source?
@barissecen the information about the user are already included in the request sent to Dialogflow API. If you want to get that, I suggest you to develop a simple webhook and connect to the Dialogflow. When the user talks with chatbot, Dialogflow will send all information to this webhook and you can capture all user's information there.
Thanks. You are right @mekpavit . I got it.
İntegration with microsoft teams has been achieved but how can I get the user session info and pass through to dialogflow. Because I would like to know who is typing to the chatbot?
Hi @barissecen, is this 'Microsoft Teams' integration is open source?
Yes, I think so.
@barissecen I couldn't find 'Microsoft Teams' integration in the official repo. Was it a third party implementation? Only 'Skype' integration is available, which we can customize for Bot framework.
@barissecen I couldn't find 'Microsoft Teams' integration in the official repo. Was it a third party implementation? Only 'Skype' integration is available, which we can customize for Bot framework.
Hi yes you are right. We implemented using skype integration.
Thanks. You are right @mekpavit . I got it. Hi @barissecen @mekpavit I am working on extracting user information from teams through Dialogflow. I am not finding the piece of code to extract user information from teams in node js. I want to add this piece of code
https://github.com/GoogleCloudPlatform/dialogflow-integrations/blob/master/skype/server.js
I believe that const user_name = turnContext.activity.from.name;
will contain the user name but I am not sure how to add a piece of code that will detect an intent and respond 'Thank you user_name' in https://github.com/GoogleCloudPlatform/dialogflow-integrations/blob/master/skype/server.js
İntegration with microsoft teams has been achieved but how can I get the user session info and pass through to dialogflow. Because I would like to know who is typing to the chatbot?