The image above illustrates the workflow of the WhatsApp bot. It shows how a customer sends a keyword to the bot, the server forwards the request to the GSheet API, and the bot responds back to the customer's WhatsApp number.
-
Create .env File
cp .env.example .env
-
Install Dependencies
npm install
-
Run the Bot
npm run dev