Skip to content

Connect a Dialogflow Chatbot to Whatsapp using Node.js and the Messages API

Notifications You must be signed in to change notification settings

amdcavallaro/dialogflow-whatsapp-node

Repository files navigation

Connect a Dialogflow Chatbot to WhatsApp using Node.js and the Messages API

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:

  1. Run npm install to install the dependencies.
  2. Copy the .env.example and create your own .env file and populate it with your credentials.
  3. Create a Dialogflow Agent.
  4. Perform the Google Cloud Setup.
  5. Run node chatbot.js to send a test message.

Credits

Detect Intent from the QuickStart: Interactions with API.

About

Connect a Dialogflow Chatbot to Whatsapp using Node.js and the Messages API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published