Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with microsoft teams has been achieved but how can I get the user session info and pass through to dialogflow #37

Open
barissecen opened this issue Jun 8, 2020 · 7 comments

Comments

@barissecen
Copy link

İ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?

@dhammikamare
Copy link

İ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?

@mekpavit
Copy link

@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.

@barissecen
Copy link
Author

Thanks. You are right @mekpavit . I got it.

@barissecen
Copy link
Author

İ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.

@dhammikamare
Copy link

@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
Copy link
Author

@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.

@MANASAMKRISHNA
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants