18 How to handoff to live agent in Dialogflow ES

Dialogflow ES Quickstart Templates Part 2 Sometimes users prefer to talk to a live person and not to a chatbot. This is one of the features which is not supported by Dialogflow Messenger, so we will use the Zoho SalesIQ + Dialogflow ES integration for this example. Create an intent which handles common user phrases…

17 How to use Google Sheets with your Dialogflow ES bot

Dialogflow ES Quickstart Templates Part 2 It isn’t easy to use Google Sheets as the database for your Dialogflow bot. Personally, I don’t think it is a good idea to use a spreadsheet software like Google Sheets or Microsoft Excel as the database for your Dialogflow bot. A tool like Airtable is better. But it…

15 How to create a Chatfuel style decision tree chatbot in Dialogflow

Dialogflow ES Quickstart Templates Part 2 One of the nice things about tools like Chatfuel and ManyChat is their visual interface for creating decision tree chatbots. What are decision tree chatbots? These go by many names – conditional logic chatbots, click-bots, scripted bots (which I like the best). The important thing is that the entire…

14 How to manage context from your Python webhook in Dialogflow ES

Dialogflow ES Quickstart Templates Part 2 This tutorial used to refer to inline webhooks before. But I have updated it to use a simple Python based webhook for two reasons: I don’t recommend using the fulfillment library and Python is better suited than NodeJS for Dialogflow bots. The problem A little while back I wrote…

13 How to get a user’s birthdate in DialogFlow ES

Dialogflow ES Quickstart Templates Part 2 A reader recently asked: How do we create a script that will ask for a date of birth? My immediate thought was, “Oh, that’s easy. You just ask for the date and use the built-in system entity etc”. And quite stupidly, I also acted on that thought and sent…

12 How to use list and composite entities in Dialogflow ES

Dialogflow ES Quickstart Templates Part 2 I will explain how to use list and composite entities in the article. Suppose you sell three products – KitKat, Snickers and Twix. The user can place an order where they can ask for any quantity of each type. E.g. “I would like 3 Snickers, 1 Twix and 2…

11 How to use webhook for slot filling in Dialogflow ES

Dialogflow ES Quickstart Templates Part 2 While the slot filling feature in Dialogflow ES makes for a very good demo, in practice it is really hard to use. One option is to use webhooks to assist your slot filling. This will give you the best of both the worlds – you allow Dialogflow ES to…