Courses | DialogFlow

Thanksgiving 2020 Deals

I am planning to have substantial discounts on my courses and other products for Thanksgiving 2020. If you are interested in getting email notifications, please sign up to my MBD Deals on Gumroad. You will only get the discount email if you sign up Also, the only folks who will get discount emails are those who sign up for it. I am not going to be announcing these discounts anywhere else. Also, each discount email will only be sent out once, and you will usually have 24-36 hours before the discount expires. So I should pay some money now, so I can pay MORE money later? I know that’s what you are probably thinking, but hear me out. πŸ™‚ There…

DialogFlow | Python | Webhooks

How to debug Dialogflow Python webhook using ngrok

In this tutorial I will explain how you can debug your Python Flask webhook for your Dialogflow bot using ngrok. I use the PyCharm professional IDE (you can also download the free PyCharm community edition) in this tutorial. 1 Create a new Pure Python project You can just start with a regular old Python project. No need to do anything more fancy. 2 Install flask inside the virtual environment Open the Terminal inside your PyCharm IDE. Use pip install Flask to install the Flask web framework inside your virtual environment. 3 Add a new Python file and call it app.py Create a new Python file called app.py. Your project structure should look like below. Add the following code into your…

Uncategorized

EU VAT MOSS Tips for online course creators

Are you confused by the EU VAT MOSS requirements? In this article, I will summarize all the research I did, as well as my recommendations if you are planning to create an online course in 2020 (and beyond). I am also making the following assumptions: you already have a day job which isn’t selling online courses you are mainly interested in course sales as a side income you prefer to be compliant with tax policies πŸ™‚ Why? Because if it is your full time business, or you have enough time to do VAT taxes by yourself, you can spend a lot of time and become compliant. Obviously there are some online course creators who do just that. But if you…

DialogFlow | Mobile App

How to integrate Dialogflow into your Flutter app

This is not a tutorial. But I want to provide some pointers because it seems people are not clear on an important aspect of Dialogflow integrations. I got this question on YouTube: The 4 Layers of a Dialogflow bot I have explained the concept of the 4 layers in a Dialogflow bot before. In the case of a Dialogflow + Flutter (mobile app) integration, you are responsible for both the middleware layer AND the UI layer. This is what makes it so complex (or at least so much more work). How to create the integration So here is what you need to do to integrate Dialogflow into your Flutter app: 1 Create the middleware code The middleware code is responsible…

DialogFlow

How to bulk upload intents from a CSV file in Dialogflow

First published: Jan 2018 | Last update: Oct 2020 I was recently asked by a client if it is possible to bulk upload intents from a CSV file to Dialogflow. Apparently, there was a time when this feature was already available in Dialogflow. But it isn’t straight forward anymore, and its probably for a good reason. CSV file structure Typically, the CSV file structure is simple. There is a column with a user says message, and then another column with the text response. What you want to do: You upload this CSV format, and you have an agent at the end of it. Things to consider Now, this simple format is not sufficient. For example, how can you handle multiple…

DialogFlow | REST API

Get your DialogFlow agent to initiate the conversation before user types a message

First published: Aug 2017 | Last Updated: Oct 2020 So let us understand the question: When you work with Dialogflow you notice that it follows the “user types something -> agent replies with an answer” sequence. Suppose you wish to get the agent to say something before the user types anything, how do you do it? Example In my CourseBot (seen above), I initiate the conversation by using the same ideas described on this page. Dialogflow Built In Welcome Events When you click inside the Event textbox in Dialogflow, you will notice in the autocomplete a bunch of CHANNEL_WELCOME events. What are these welcome events? In principle, this is the feature you should use to initiate conversations on different channels….

Dialogflow CX

Why doesn’t Dialogflow CX support more 1-click integrations?

A reader recently asked me if Dialogflow CX supports the Dialogflow Messenger integration. Answer: It doesn’t. But more importantly, CX supports almost no integrations out of the box. I think it is important to understand why that might be the case. Unlike ES, there is no free tier in CX I wrote about this in my article comparing Dialogflow ES and CX, and while my initial pricing calculation was off by quite a bit (and was duly corrected by a commenter), the main point is that there is no free tier in CX as of this writing. This might not be obvious to people who are new to Dialogflow, but every 1-click integration in Dialogflow ES uses the Dialogflow API…

Dialogflow CX

Dialogflow CX vs ES: First look

Last updated: 1 Oct 2020 If you didn’t know, the folks at Google recently introduced Dialogflow CX, which is meant for developing large or very complex agents. The older version of Dialogflow has been renamed to Dialogflow ES (short for Essentials), and is more suited to develop small and simple agents. You can also find a comparison chart on this page. What my peers think There was the usual hype and self-congratulatory tweets when CX was released, but I am more interested in the opinions of my peers. It didn’t take me long to confirm what I was already thinking. Here is a tweet from Allen Firstenberg, who has been working with Dialogflow for quite a while (and is one…

DialogFlow

Dialogflow Quickstart Templates

Quickstart templates are small (micro) bots which are designed for a very specific task. There are three parts (files) in these templates usually – a video demonstrating what the bot does, a video demonstrating how to build the bot, as well as the agent ZIP file for the bot. This way, you can download the agent ZIP file and import it into your Dialogflow console and follow along with the video which shows how to build such a bot. There are multiple benefits of using these Dialogflow Quickstart Templates to learn how to build Dialogflow bots they are small and self-contained, so easier to follow what is going on they do not contradict each other. Since all these bots are…

DialogFlow | Website Bots | Zobot

Dialogflow Zobot: Selection Triggers the next intent

In this tutorial, I will explain how you can move to the next intent based on a button selection in a Dialogflow Zobot. [1] What we are building We will be creating a bot which provides coupons for courses on my course website (to begin with. More features will be added later). Flowchart Let us take a look at the flowchart for this chatbot. Please take some time to go through my article on Dialogflow flowcharts to get a background on the conventions I have used in this flowchart. In addition to my usual conventions, I use two more conventions in this flowchart: a) The triple slash (///) acts as a separator and indicates a new chat bubble will be…

DialogFlow | Integrations

Dialogflow Architecture

First published: April 2018  |  Last Updated: July 2020 Recently, I realized that people are not always very clear about Dialogflow’s architecture. In particular, a client was mixing up fulfillment and integrations. So this article provides a high level overview of Dialogflow’s architecture with a focus on how data flows when users interact with Dialogflow agents. In my view, there are 4 concepts you need to understand to get a good picture of Dialogflow’s architecture. 1 Request-response You can summarize a Dialogflow agent as a series of (request, response) pairs [1] . That is, 1 User sends a request to the Dialogflow agent 2 (some NLU magic happens) 3 Dialogflow sends a response back to the user Why is this…

DialogFlow | Python | Webhooks

Dialogflow Python webhook tutorial

One of the things that I have mentioned before is that you need to have a programmer on your team if you would like to build a non-trivial Dialogflow bot. At the same time, all Dialogflow bot makers would still benefit from understanding the basics of webhooks. This tutorial will be helpful if you are technical, but not a programmer. I will explain just enough about Dialogflow webhooks to make you dangerous. πŸ™‚ If you are a programmer, this guide will still be helpful if you are new to Dialogflow. Hello World Let us start with a simple Hello World program. First, sign up for a free account at Repl.it. You can use your Google account to sign in. Create…