This demo allows you create a WhatsApp chatbot integrated with Dialogflow Essentials using the Vonage Messages API and Node.js. To use it, first go to your Vonage Developer dashboard and configure your WhatsApp sandbox.
Clone this repository to a new directory on your machine and:
- Run
npm install
to install the dependencies. - Copy the
.env.example
and create your own.env
file and populate it with your credentials. - Create a Dialogflow Agent.
- Perform the Google Cloud Setup.
- Run
node chatbot.js
to send a test message.