I am trying to integrate an oracle chat bot with WhatsApp.
From what i understand
direct integration is not feasible in Oracle and we have to use webhooks.
WhatsApp does not expose its API directly. We have to go through a WhatsApp client (infra[servers, db] for the client hasto be setup separately)
Can someone provide some useful guidelines(steps) on how to proceed with the integration?
Related
I am a newbie to chatbots, and built one agent in dialogflow and written a node server to connect it with my custom UI. Now my next requirement is to integrate this bot with my Microsoft Teams Channel.
For what I have searched there seem to be similar steps being followed as with skype but those didn't make sense to me. Though I am not really clear about it, if anyone can give a step wise points to follow to do the same, it will be great help.
Also just to be clear, can someone confirm if it's really possible to integrate Google's dialogflow with Microsoft's Teams?
I don't know of any official instructions explaining how to connect a Dialogflow bot to Teams, but Skype and Teams both communicate through the Azure Bot Service using the Bot Framework protocol. When a Dialogflow bot connects to Skype what it's really connecting to is the Azure Bot Service, so you should be able to follow the same instructions for any ABS channel, Teams included.
I have to integrate 2 different azure bots into a single azure bot application. So thinking of integrating with the REST api. Will this approach work ?
From this links
https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-quickstart?view=azure-bot-service-4.0
https://learn.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0
I can get the access token from cloud bot. But there is no example on "sending message from client". It have examples on handling client messages from server as Activity object.
It would be better if any samples on "sending message from client to azure cloud throught REST"
what is different between REST and connectors.?
I believe it will be possible with DirectLine, but wanted to know how to do thorugh REST APIs.
Thanks in Advance !!
I can't tell you whether or not your idea will work for dealing with two separate bots without more information. If you are trying to start conversations with both bots and the sending messages to the different conversations based on some set of criteria than that should work.
The Bot Framework API can essentially split into two sections:
The Connector (primary) API that the bot uses to talk to users and the service.
The DirectLine API that you can use to talk to the bot instead of using one of the built-in connectors like Slack or Teams.
Based on your needs, the DirectLine is indeed what you are looking for. The directline.botframework.com/v3/directline/conversations/abc123/activities endpoint will allow a client app to send a message to the connected bot.
I am developing a Chat bot using Dialog-flow which will be based on a database that I am preferring to use MySQL. The Chat bot will send the answers on the basis of DB after querying the data.
I have created a basic chat bot with a small Database.
What should I do to develop a communication link between MySQL and the Dialog-flow or is there any Database that I can use? Help me, please.
To communicate with your database from a Dialogflow agent, you will need to use fulfillment.
Dialogflow has a fulfillment library for Node.js that you can use to start building your fulfillment code. You can see the Dialogflow GitHub for many samples of fulfillment code.
If you are using Node.js to build your fulfillment, you can integrate it with MySQL via a Node.js MySQL client such as mysqljs/mysql.
Until now I have developed bots using each platform API directly, so that communication takes place between my bot and the platform like this:
My Bot <----> Telegram/Slack servers
I would like to use BotBuilder SDK to simplify bot development and unify communication to multiple Bot platforms (Telegram, Slack, etc.).
However, it looks like using BotBuilder also implies using Microsoft servers as an intermediary relaying all chat messages between each platform and my bot:
My Bot <----> Microsoft servers <----> Telegram/Slack servers
Is it like this? Using BotBuilder SDK messages need to be proxied through Microsoft servers?
(I expected that the BotBuilder SDK library would directly provide the features of adapting message format (between the unified format and each platform/channel format) and communicating with each platform API, but it looks like this is really done by Microsoft servers.)
If this is really the case, which components would need to be reimplemented/overriden to be able to communicate directly with each platform REST API? The Bot Connector service? Is there any example available? Thanks
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.
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.
This middleware plugin allows developers to easily integrate a Watson Conversation workspace with multiple social channels like Slack, Facebook, and Twilio. Customers can have simultaneous, independent conversations with a single workspace through different channels.
https://github.com/watson-developer-cloud/botkit-middleware
I created a starter application for this purpose. My example is for Slack and you easily use it by creating an slack API token.
The starter is implemented in node-red and you just need to insert your API token and the rest is deployed automatically. I used Watson Conversation and Natural Language Understanding.
One-Click-Deploy and more detailed description:
https://github.com/BenediktKrueger/SlackBot-Starter-on-Bluemix