/plushcap/analysis/vonage/vonage-build-a-whatsapp-currency-conversion-bot-with-node-js

Build a WhatsApp Currency Conversion Bot With Node.js

What's this blog post about?

This tutorial covers building a simple WhatsApp chatbot that performs currency conversions using the exchange rates provided by Coinbase. The bot is built using Node.js, Express, and Vonage's Messages API. To build the bot, developers need to set up their local environment with Ngrok, create a Vonage API account, and whitelist their WhatsApp number in the sandbox. The bot receives incoming messages via WhatsApp, validates the message format, and performs currency conversions using Coinbase's API. The converted amount is then sent back to the user as a response. The tutorial includes setting up environment variables for the bot and testing its functionality.

Company
Vonage

Date published
May 11, 2021

Author(s)
Dotun Jolaoso

Word count
1463

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.