GoogleCloudPlatform / dialogflow-integrations

Dialogflow integrations with multiple platforms including KIK, Skype, Spark, Twlio, Twitter and Viber
https://cloud.google.com/dialogflow/
Apache License 2.0
248 stars 501 forks source link

Dialogflow integration with skype/teams #91

Open MANASAMKRISHNA opened 3 years ago

MANASAMKRISHNA commented 3 years ago

I have integrated Dialogflow with Microsoft Teams as per the instructions here. It works fine. I want to add calendar integration as well. When I try to do this with separate cloud function/cloud run, it works fine in the Dialogflow console but when I test in teams, it creates a calendar event but there is no response from webhook to teams (I get the webhook response only in Dialogflow console). This is probably because the teams doesn't recognize a normal message, it has to be converted to a skype message. This is the response back from webhook:

conv.ask('Ok, let me see if we can fit you in.');

How do I convert this particular message to skype message using node js?

mekpavit commented 3 years ago

@MANASAMKRISHNA Can you make sure that the HTTP response from Dialogflow is received by your dialogflow-integration app? Maybe print the responses here to the log console, so we can see what's the response from Dialogflow looks like and check whether or not it works with the convertToSkypeMessage() function.