- How to bulk upload intents from a CSV file in Dialogflow
- Automatically generate a Dialogflow FAQ chatbot from CSV file
- Reader question: Automating Dialogflow training
- App question: How to use the bot generator for Spanish?
- App question: how to add follow up intents using the Bot Generator app?
- Automatically generating a product lookup bot
I received this question from a Dialogflow Bot Generators app buyer recently:
There are a few reasons I don't have a way to add follow up intents in the tool.
Should you use follow up intents?
In my view, it is probably a good idea to avoid using follow up intents. To see why, I recommend taking a look at my course on building better bots. (Specifically lessons 1 and 2).
Even if you were to use follow up intents, I would suggest using a context lifespan of 1 on the parent intent.
Hierarchy vs flat structure
If you look at a description of the CSV file structure for generating a bot, you will notice that it is a flat structure.
If you wish to add inherently hierarchical follow up intents, you have to simulate hierarchy within the flat structure. While this can be done, it will be a somewhat confusing user experience for people who only need the flat hierarchy.
What problem are you solving using follow up intents?
The final reason why I haven't added follow up intents into the bot generator app is that it is possible to create entirely different types of bot generator apps to handle the specific type of bot you are making. As an example, if you are creating some kind of decision tree bot, it makes more sense to structure the CSV file differently and not use the same CSV structure as the FAQ bot generator. (I am working on such a bot generator and hope to release it soon).