Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anandukch/cowin-whatsapp-bot

Build your cowin whatsapp bot
https://github.com/anandukch/cowin-whatsapp-bot

cowin cowin-api twilio-api whatsapp-bot

Last synced: about 1 month ago
JSON representation

Build your cowin whatsapp bot

Awesome Lists containing this project

README

        



Cowin WhatsApp Bot


### Tech Stack

1. JavaScript
2. NodeJS
3. ExpressJS
4. Twilio Messaging API

### How to use
1. Create a twilio account
2. Store the credientials in a .env file
```
BASE_URL=
TWILIO_ACCOUNT=
TWILIO_TOKEN=
```
3. Go to Programmable Messaging->settings-> whatsapp sandbox settings in twilio.

4. Set up the sandbox with your app url.


5. Twilio will provide a whatsapp number to start messaging or you can create your own

### Local setup

1. Fork the repository and clone it to your local machine
2. Install dependencies
```
npm install
```
3. Run the app
```
npm start
```
4. Expose your local development server to the Internet (eg. using ngrok)

5. Run it in your terminal
6. Paste the URL from ngrok in the whatsapp sandbox settings
7. Start messaging