Quick summary
Adding buttons in Dialogflow requires inserting a Custom Payload response with the correct JSON structure inside your chosen intent. This step-by-step process lets you deliver interactive, clickable button options directly within your Dialogflow chatbot responses.
Steps
- On Dialogflow's main dashboard, find and open the intent you wish to use.
- Scroll down to the Responses section, then click 'Add Responses'.
- Choose 'Custom Payload' from the list of response options.
- Enter the code into the provided input field.
- Edit the code and input the specific button details, such as button type and label.
- Click 'Save' to apply your changes and proceed.
- Confirm the intent is saved — the button will now be added to the selected intent in Dialogflow.



