Follow-up intents provide a simple way to shape a conversation without having to create and manage contexts manually. These special intents are nested under their parent intent and are designed to handle preset replies from the user, like "yes", "no", "cancel", or "next". You can also customize follow-up intents by choosing the Custom option.
When you create a follow-up intent, an output context is added to the parent intent and an input context of the same name is added to the child intent. This means that the follow-up intent is matched only when the parent intent is matched in the previous conversational turn.
In the example above, the user is asked if they like cats. The child intents for "Would you like to see a cat picture?" can only be matched if the user says "Yes".
Create a follow-up intent
Follow-up intents must be associated with a parent intent. To create a follow-up intent, follow these steps:
- Click Intents in the left menu.
- Hover over the intent you want to add a follow-up intent to.
Click Add follow-up intent.
Select one of the predefined follow-up intents or choose custom.