Search code examples
node.jstelegramibm-watsonmessengerwatson-assistant

Integrating Watson Assistant (formely conversation) with Telegram/Facebook


I am confused about how to integrate my Watson bot on messaging platforms such as Facebook messenger. To build that bot, I used the Watson Conversation service and also used Bluemix cloudfoundry node.js app to expose it on the web. It works very well, but I just can't integrate it to platforms without the use of a third-party platform like stamplay. I don't really want to use third-party platforms to integrate my bots.

Anyone have any ideas? Maybe I can host my own bots on my Bluemix cloud platform? I just don't know how.


Solution

  • You might want to use some facilitators for this, like Node-red or NGROK.

    • Use Node-red to Integrate Watson Conversation with facebook easily.
    • Use NGROK, Tanmay Bakshi teaches how to do that. Check this tutorial.

    With Node-RED you can create functions, and have a lot of options for Business rules for your application.

    Note: I've built some open source basic example to Integrate Watson Assistant with Telegram and Facebook using Node.js. You can follow the instructions or read the docs in the repositories.