Application example using JavaScript and Node.js where a simple chatbot will be implemented using the ZENVIA platform to integrate with RCS (Rich Communication Services) and the OpenWeatherMap platform to integrate with meteorological data in order to test some RCS features such as sending and receiving text and image messages and sharing location.
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
- OpenWeatherMap account
- ngrok account
1. Clone the repository.
git clone [email protected]:rodrigokamada/chatbot-rcs.git
2. Install the dependencies.
npm ci
3. Change the .env
file and add the ZENVIA and OpenWeatherMap tokens.
4. Run the application.
npm start