DialogFlow | Website Bots

Seven ways to integrate a Dialogflow chatbot into your website

In this article I explain the different ways you can integrate Dialogflow into your website and how the specific type of integration will allow you to add rich responses inside your chat window. Seven ways to add a Dialogflow chatbot to your website August 2020 Update: There are now seven ways to integrate a Dialogflow chatbot into your website. 1 Use the built in 1-click web demo integration For example, here is a “tell me a random Chuck Norris joke” bot 🙂 I have built using the 1-click web demo integration. 2 Use the Dialogflow Messenger integration A while back, Dialogflow created the Dialogflow Messenger integration as a much needed improvement over the 1-click web demo integration. You can see…

DialogFlow

Integrating Chatfuel with Dialogflow

I have received a few requests of late to explain how to integrate Chatfuel with Dialogflow. In this tutorial, I will explain how I achieved this integration. Coming from the Medium article about Integrator Tool? Here is my recommendation on when to use my system vs when to use the Integrator tool. Prerequisites There are some prerequisites to completing this tutorial: You should already understand Chatfuel quite thoroughly, because I will be skimming over that portion here. It would be best if you also understand how contexts work in Dialogflow, especially with respect to sessions. You need a server which can execute PHP code Also, you need to have created a Dialogflow sample bot The relay app You need a…

ChatBots

Three ideas to get more engagement for your website chatbot

There are now 7 ideas in this article. Be sure to check out the section on Woebot at the end of the article. First, a little back story. About 2-3 months back, I found a WordPress plugin which would help me create a chatbot by doing nothing more than specifying some conditional logic. “If user says this, then go to this step”. And so on. It is, for all practical intents, Not-A-Smartbot. (I don’t want to call it DumbBot, and you will see why soon). But Not-A-Smartbot is too long and too hard to pronounce. So I will just call them TapBots. At the end of the day, most of the interactions with this bot are happening via user tapping…

DialogFlow

DialogFlow Web chatbox: Some UI design ideas

To be very clear, this article is not about web design. I am not a web designer, or for that matter a designer of any sorts. I am a DialogFlow trainer/coach/consultant, and I am writing this article after a few attempts to create a web based chatbot based on DialogFlow. You can see plenty of articles on this broad topic on this site, and this article is a proposal based on my learnings till date. (And it will probably be a bit opinionated) My first chatbot The very first chatbot I built with DialogFlow was a sports stats chatbot for getting records about the sport of cricket. It is actually a chatbot with high utility value (by which I mean,…

API.AI

Initiate the conversation in DialogFlow (API.AI) – PHP code sample

I had written an article previously on the basic principle you would use to get API.AI to start a chat before the user types a message. I had only used the cURL command to explain it, and recently I got a request to explain it using some sample code. In this article, I will show you how to do it in PHP. Prerequisite As it turns out, when you try to use sample code rather than cURL to explain the same concept, there is a little bit more setup work. For one thing, since you are using the REST API, it follows that you need to have created your own custom webchat UI. You cannot mix the integrated web demo with…