Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rodrigokamada/chatbot-rcs

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.
https://github.com/rodrigokamada/chatbot-rcs

chatbot hacktoberfest javascript ngrok nodejs openweathermap rcs weather zenvia

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

# RCS chatbot using Node.js

Application example using [JavaScript](https://developer.mozilla.org/docs/Web/JavaScript) and [Node.js](https://nodejs.org/) where a simple chatbot will be implemented using the [ZENVIA](https://www.zenvia.com/) platform to integrate with RCS (Rich Communication Services) and the [OpenWeatherMap](https://www.openweathermap.org/) 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](https://rodrigo.kamada.com.br/blog/como-construir-um-chatbot-de-previsao-do-tempo-no-canal-rcs-usando-nodejs) in portuguese and on the [DEV Community](https://dev.to/rodrigokamada/how-to-build-a-weather-chatbot-in-rcs-channel-using-nodejs-2jin) in english.

[![Website](https://shields.braskam.com/v1/shields?name=website&format=rectangle&size=small&radius=5)](https://rodrigo.kamada.com.br)
[![LinkedIn](https://shields.braskam.com/v1/shields?name=linkedin&format=rectangle&size=small&radius=5)](https://www.linkedin.com/in/rodrigokamada)
[![Twitter](https://shields.braskam.com/v1/shields?name=twitter&format=rectangle&size=small&radius=5&socialAccount=rodrigokamada)](https://twitter.com/rodrigokamada)
[![Instagram](https://shields.braskam.com/v1/shields?name=instagram&format=rectangle&size=small&radius=5)](https://www.instagram.com/rodrigokamada)

## Prerequisites

Before you start, you need to install and configure the tools and services:

* [git](https://git-scm.com/)
* [Node.js and npm](https://nodejs.org/)
* IDE (e.g. [Visual Studio Code](https://code.visualstudio.com/))
* [ZENVIA](https://app.zenvia.com/) account
* [OpenWeatherMap](https://home.openweathermap.org/users/sign_up) account
* [ngrok](https://dashboard.ngrok.com/signup) account

## Getting started

**1.** Clone the repository.

```shell
git clone [email protected]:rodrigokamada/chatbot-rcs.git
```

**2.** Install the dependencies.

```shell
npm ci
```

**3.** Change the `.env` file and add the [ZENVIA](https://app.zenvia.com/home/api) and [OpenWeatherMap](https://home.openweathermap.org/api_keys) tokens.

**4.** Run the application.

```shell
npm start
```