I want to use bot created in node.js to work with my html page which I can test.When I open my HTML page, it will have a button which will point to the bot, and then I can use it to further. How can we integrate the node.js part to HTML? The final output should be like land on my HTML page-select the bot and chat with the bot.
For bots, I have used Microsoft bot framework. I am not getting even is this feasible or not.
You can accomplish this by using the WebChat channel iframe embed code to insert the WebChat control into your HTML web page.
You will find the embed code in the channel configuration page for WebChat on the Bot Developer Portal after you have registered your bot.
Related
If a user asks a question to my chatbot eg.what is coding?....then my chatbot should direct it to a wikipedia page about coding.So how can I do it in dialogflow?More specifically if I integrate my dialogflow chatbot with a website then for a particular question....it should direct it to a particular page of my website.Can anyone tell me how to do it?
It depends on the Channel you are using.
In most channels you can not force direct the user out of the chat.
You will have to send them a LINK ( most platforms support that ) or you can send them a button or quick reply etc (Depending on the Channel you are using) where the user clicks to open up a webview inside the chat or a browser window
I just want to know if its possible to add images as a response into chatbot web demo. If is not supported, how can I do this? How else can I do it?
As per my knowledge it is not at possible in web demo, you can add images hyperlinks or buttons in your website try exploring custom payload option, where on your website you will have to code by yourself, for the buttons when you send responses as custom payload and divert it to google assistant.
Web demo does not support images or buttons.
You can add some other chat client which supports images, like facebook messenger, slack etc.
The issue originates from the bot framework itself, when I add a new Facebook channel for the first time everything works as expected, what I am trying to do is connecting multiple FB pages to the same bot, I read somewhere that you can do this by re-entering the page info and clicking "resubmit", the problem is when the "resubmit" button is clicked without first clicking "Deauthorize" first causes a problem, when I analyzed the request with the browser's inspector it seems that EnableChannelForBot method throws an error.
Also we are developing a service where users can register and link their FB pages to the bot just like ChatFuel or any other famous bot platform, the main problem is that bot framework is asking for a specific page id and access token per FB bot and you must do it manually through the bot framework dashboard, can we have an easy way to register the bot to multiple FB pages and without having to do so manually through an API or something Similar? Please work with us to provide a solution for this as soon as you can, Bot Framework is vital to our work and migrating to another SDK is going to be very costly and time-consuming.
I don't think that connecting multiple Facebook pages to the same bot is supported. Where did you read that?
Also, there is no API currently you can leverage on to register your bot/enable Facebook channel.
I need to integrate a bot on my website. Api.ai bot supports rich messages on social media messengers like facebook etc.
Is there any way to do the same for my own website?
You'd have to do a bit of coding:
Build a chat ui,
call your own server ..
...that will call api.ai via REST
and then render everything that you want, based on the action that api.ai did figure out for you.
I want, Bot to send html form[with some fields and submit button] to user, where user can fill out the form and submit.
Once user submits the form, form action routes to dialog where i can retrieve the user data.
Is this possible in Microsoft Bot framework - Node.Js?? If so, How to achieve this ?
Please any Help.....
None of the existing channels (i.e. Facebook, Slack, etc.) support posting of HTML forms as of yet. If you are building your own channel via Direct Line you can roll your own. Take a look at FormFlow on the C# client or Waterfalls in the node client for text-based input flow.