Example application using JavaScript and Node.js where a simple chatbot will be implemented using the Zenvia platform to integrate with WhatsApp and the AudD platform to integrate with music recognize in order to test some WhatsApp Business API features such as sending and receiving text and file (image and audio) messages.
This tutorial was posted on my blog in portuguese and on the DEV Community in english.
Before you start, you need to install and configure the tools and services:
- git
- Node.js and npm
- IDE (e.g. Visual Studio Code)
- Zenvia account
- AudD account
- ngrok account
1. Clone the repository.
git clone git@github.com:rodrigokamada/chatbot-whatsapp.git
2. Install the dependencies.
npm ci
3. Change the .env
file and add the Zenvia and AudD tokens.
4. Run the application.
npm start