How to implement a welcome activity when the bot first starts - NLP is from Google Dialogflow RRS feed

  • Question

  • Hi Team,

    Kindly help me on this "How to implement a welcome activity when the bot first starts - NLP is from Google Dialogflow."

    I have designed the chatbot -intent, entities and NLP from Google Dialogflow and I have integrated successfully with the botframework webchat in a html file on referring the url: "https://github.com/Microsoft/BotFramework-WebChat/tree/master/samples/15.d.backchannel-send-welcome-event".

    The bot design and also the bot response is good to go. My most expected is am not getting the Bot response first here.

    The welcome intent from Google Dialogflow has to get trigger from the following code as per the link given above.

    But am unable to get the bot trigger first here.

    Can you please let me know the procedure how to trigger the event of Google Dialogflow from the code "https://github.com/Microsoft/BotFramework-WebChat/tree/master/samples/15.d.backchannel-send-welcome-event"

    Am expecting same like "https://microsoft.github.io/BotFramework-WebChat/15.d.backchannel-send-welcome-event/"

    This is on high priority please revert me back as earliest.

    Waiting for the immediate response.




    Friday, May 3, 2019 4:45 PM

All replies

  • Hello Imran,

    You can check the available actions of the welcome bot using help but I think these actions might not be feasible to call your custom intents from Google Dialogflow.

    Instead, I would suggest you to go through the sample code from the code project which built a bot using MS bot framework and Google DialogFlow endpoint. This article should help you create a custom chatbot using Microsoft’s bot framework and enable the webhooks in Dialogflow and return the response from the custom bot to Dialogflow intents as a fulfillment response. This workflow might be a better use case rather than using the sample welcome event bot.


    Monday, May 6, 2019 6:48 AM