Stay organized with collections
Save and categorize content based on your preferences.
You can use
follow-up intents
to automatically set contexts for pairs of intents.
A follow-up intent is a child of its associated parent intent.
When you create a follow-up intent,
an output context is automatically added to the parent intent
and an input context of the same name is added to the follow-up intent.
A follow-up intent is only matched
when the parent intent is matched in the previous conversational turn.
You can also create multiple levels of nested follow-up intents.
Dialogflow provides many
predefined follow-up intents
for common end-user replies like "yes", "no", or "cancel".
You can also create your own follow-up intents to handle custom replies.
For example, a hair stylist agent might have the following nested intents.
Intent name
Training phrase
Input context
Output context
Intent response
Appointment
Hello
appointment-followup
Would you like to make an appointment?
⤷ Appointment - yes
Yes
appointment-followup
appointment-yes-followup
Would you like a haircut?
⤷ Haircut - yes
Yes
appointment-yes-followup
Your appointment is set.
⤷ Haircut - no
No
appointment-yes-followup
Goodbye.
⤷ Appointment - no
No
appointment-followup
Goodbye.
Where to find this data
When building an agent,
it is most common to use the
Dialogflow ES console (visit documentation, open console).
The instructions below focus on using the console.
To access intent data:
If you are building an agent using the API instead of the console, see the
Intents reference.
The API field names are similar to the console field names.
Create a follow-up intent
To create a follow-up intent:
From the intent list,
hover your mouse pointer over the desired parent intent.
Click Add follow-up intent.
Select one of the predefined follow-up intents, or choose custom.
The predefined follow-up intents already include
training phrases for expected end-user replies.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eFollow-up intents are used to automatically set contexts for pairs of intents, acting as child intents to their associated parent intent.\u003c/p\u003e\n"],["\u003cp\u003eWhen a follow-up intent is created, an output context is added to the parent intent, and an input context of the same name is added to the follow-up intent.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow offers predefined follow-up intents for common replies, but you can also create custom follow-up intents.\u003c/p\u003e\n"],["\u003cp\u003eFollow-up intents are only triggered when the parent intent is matched in the previous turn of the conversation.\u003c/p\u003e\n"],["\u003cp\u003eFollow up intents can be created within the Dialogflow ES console by selecting the parent intent and choosing to add a follow-up.\u003c/p\u003e\n"]]],[],null,["# Follow-up intents\n\nYou can use\n\n*follow-up intents*\n\nto automatically set contexts for pairs of intents.\nA follow-up intent is a child of its associated *parent intent.*\nWhen you create a follow-up intent,\nan output context is automatically added to the parent intent\nand an input context of the same name is added to the follow-up intent.\nA follow-up intent is only matched\nwhen the parent intent is matched in the previous conversational turn.\nYou can also create multiple levels of nested follow-up intents.\n\n\nDialogflow provides many\n[predefined follow-up intents](/dialogflow/docs/reference/follow-up-intent-expressions)\nfor common end-user replies like \"yes\", \"no\", or \"cancel\".\nYou can also create your own follow-up intents to handle custom replies.\n\n\nFor example, a hair stylist agent might have the following nested intents.\n\nWhere to find this data\n-----------------------\n\nWhen building an agent,\nit is most common to use the\nDialogflow ES console ([visit documentation](/dialogflow/docs/console), [open console](https://dialogflow.cloud.google.com)).\nThe instructions below focus on using the console.\nTo access intent data:\n\n1. Go to the [Dialogflow ES console](https://dialogflow.cloud.google.com).\n2. Select an agent.\n3. Select **Intents** in the left sidebar menu.\n\nIf you are building an agent using the API instead of the console, see the\n[Intents reference](/dialogflow/docs/reference/common-types#intents).\nThe API field names are similar to the console field names.\n\nCreate a follow-up intent\n-------------------------\n\nTo create a follow-up intent:\n\n1. From the intent list, hover your mouse pointer over the desired parent intent.\n2. Click **Add follow-up intent**.\n3. Select one of the predefined follow-up intents, or choose **custom**. The predefined follow-up intents already include training phrases for expected end-user replies."]]