Home / Website Bots / How to quickly create a large Dialogflow Messenger bot
Website Bots

How to quickly create a large Dialogflow Messenger bot

If you have been using Dialogflow ES for a while, you might have noticed that it can be quite tedious to create large FAQ chatbots because the interface gets slower as you keep adding more intents.

Bulk upload intents from a spreadsheet

One of the easiest ways to create a large FAQ chatbot is to type everything into a spreadsheet file and then convert it into an agent ZIP file which you can import directly into Dialogflow. You could already do this using the CSV to ZIP file converter in my BotFlo app.

This approach has many benefits – it is much faster, it is easier to get a quick overview of your bot training phrases and it is also better suited for collaborative editing.

Dialogflow Messenger custom payload

The big downside to this approach is that it is very hard to type the rich responses for suggestion chips, clickable hyperlinks etc (which need to be specified in JSON format) into a CSV file.

I have recently figured out a workaround – remove all whitespace from the JSON (it is still valid when you do that) and add this compressed (minified) JSON into the spreadsheet cell. The Dialogflow agent ZIP file also accepts this minified JSON as a payload.

Link to the tool

How to generate the custom payload JSON

In addition, you can use the visual editor for generating the custom payload JSON in BotFlo. This automatically creates a minified (i.e. compressed) version of the custom payload JSON which you can copy and paste directly into the spreadsheet. You can see an example below.

<— End of article —>


This website contains affiliate links. See the disclosure page for more details. 
"The magic key I needed as a non-programmer"

The custom payload generator was the magic key I needed (as a non-programmer) to build a good demo with rich responses in DialogFlow Messenger. I've only used it for 30 minutes and am thrilled. I've spent hours trying to figure out some of the intricacies of DialogFlow on my own. Over and over, I kept coming back to Aravind's tutorials available on-line. I trust the other functionalities I learn to use in the app will save me additional time and heartburn.

- Kathleen R
Cofounder, gathrHealth
"Much clearer than the official documentation to be honest"

Thanks a lot for the advice (of buying and following your videos)! They helped a lot indeed. Everything is very clear when you explain, much clearer than the official documentation to be honest 🙂

Neuraz T
Review for Learn Dialogflow CX
"I will strongly recommend this course because even I can learn how to design chatbot (no programming background)"

I think Aravind really did a great job to introduce dialogflow to people like me, without programming background. He organizes his course in very clear manner since I have been a college professor for 20 years. It is very easy for me to recognize how great Aravind’s course is! Very use-friend and very easy to follow. He doesn’t have any strong accent when he gives the lectures. It is so easy for me to understand. Really appreciate it.

Yes, I will strongly recommend this course because even I can learn how to design chatbot (no programming background) after studying Avarind’s course, you definitely can!

Ann Cai
Review for Learn Dialogflow ES

Similar Posts