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
- ngrok documentation documentation
Já escutou uma música e queria muito saber qual o nome dela? Neste artigo, iremos criar um WhatsApp Bot Node.js que descobre exatamente isso para o usuário. Venha descobrir como!
1. Clone the repository.
git clone [email protected]: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