Open MANASAMKRISHNA opened 3 years ago
Hi @MANASAMKRISHNA. First of all, sorry for my late reply. I didn't see this issue until you mentioned me on the other issue. BTW, here is my answers:
Are we supposed to develop a method to handle incoming requests within dialoglow-integration/server.js?
Where should we look for the said user information?
originalDetectIntentRequest
field.We are trying to integrate Dialogflow chatbot with Microsoft Teams. We followed this tutorial (https://github.com/GoogleCloudPlatform/dialogflow-integrations/tree/master/skype) We got to a point where we’re able to send text-based basic intent mapped questions, and they’re working flawlessly.
Is there a way to extract user information out of Teams?
For example, in the Welcome Intent, instead of bot saying “Hello user”, is there a way to make it say “Hello John”?
A little bit of research led us to this (#37 (comment)) but we find it a little bit confusing. Are we supposed to develop a method to handle incoming requests within dialoglow-integration/server.js? If so, where should we look for the said user information? Any pointers will help.
TIA.
Hi Sorry for the late answer. You can get the user name from here; originalDetectIntentRequest.payload.from.name
We are trying to integrate Dialogflow chatbot with Microsoft Teams. We followed this tutorial (https://github.com/GoogleCloudPlatform/dialogflow-integrations/tree/master/skype) We got to a point where we’re able to send text-based basic intent mapped questions, and they’re working flawlessly.
Is there a way to extract user information out of Teams?
For example, in the Welcome Intent, instead of bot saying “Hello user”, is there a way to make it say “Hello John”?
A little bit of research led us to this (https://github.com/GoogleCloudPlatform/dialogflow-integrations/issues/37#issuecomment-647927403) but we find it a little bit confusing. Are we supposed to develop a method to handle incoming requests within dialoglow-integration/server.js? If so, where should we look for the said user information? Any pointers will help.
TIA.