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

First published: Aug 2017 | Last Updated: May 2022 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…

Naming conventions for Dialogflow ES intents and contexts

Do you capture user input in your chatbot? For example, do you ask them to provide their name, or email, or other information? I have recently started using the following convention in the bots I am building (as well as advising on). Suppose you have an intent which should get user’s email address. You can,…

How to mimic Dialogflow CX session variables in Dialogflow ES

In the previous article I explained how you can mimic the behavior of follow up intents to move to the next intent. One disadvantage of this approach is that you cannot access the information collected from 2 or more steps prior in the current response. The way around this is to use the concept of session variables. What…

How to collect user input without follow up intents in Dialogflow ES

Sometimes I see questions like these in the Dialogflow forum. So, I got one intent working. How can I now “move” the conversation to the next intent? Answer In Intent1, declare an output context called contextA. In the next intent you want to fire, use contextA as the input context. You have now chained Intent1 and Intent2 using contextA. Is…

How to use follow up intents to collect user input in Dialogflow ES

In this article, I will explain how to use follow up intents to collect user input in Dialogflow ES. Let us take the example of a simple lead capture chatbot. It captures the details of visitors who are interested in adding a chatbot to their website. We would like to get the following inputs: Here is how…

How to export and import Dialogflow ES agent ZIP file

Dialogflow ES provides the option to export your entire Dialogflow ES agent as a ZIP file. How to Export Dialogflow ES agent Go to Settings by clicking on the Gear icon next to the name of the agent. Choose “Export and Import” tab and click on the “Export as ZIP” button to export the agent…

What is the “Tag” field in a Dialogflow CX webhook?

I got this question from a student I want to create a wehbook for my bot. I followed your instructions from https://botflo.com/how-to-debug-dialogflow-python-webhook-using-ngrok/ and completed all of the stages.However, step 14 differs from the tutorial. I have a “Tag” to fill and I’m not sure what to place in there. The “Tag” field is similar to the Action…