The simplest way to integrate Dialogflow with WhatsApp is by adding your link as a response. Here’s a short tutorial on how to do it:
- On Dialogflow's main dashboard, select the intent you want to use for the WhatsApp integration.
- After that, scroll down to the Responses section and click 'Add Response'.
- Choose 'Custom Payload' from the list of options.
- Subsequently, enter the snippet code into the provided input field.
- Review the code and provide the necessary details, particularly the Type, Text, and URL. For the URL, enter your WhatsApp link.
- Once done, click 'Save'.
- After completing these steps, the selected Dialogflow intent will be integrated with WhatsApp.