This is a basic demo of WhatsApp Chatbot that performs currency conversion using Coinbase's API.
Node, Express, Vonage, WhatsApp
- A Nexmo account, sign up for a new account here if you don't have one already
- EITHER a WhatsApp Business number OR you can try this app using the Messages API Sandbox - but only telephone numbers that you whitelist through the dashboard can be used. This makes the sandbox ideal for testing with a controlled group of numbers.
- NodeJS and NPM
- Using the Messages Sandbox, configure the sandbox URL for Inbound Messages to point to the URL
[APP URL]/webhooks/inbound-message
.
- Your application must be publicly available. If running locally, you might find the guide to using Ngrok for development helpful.
- Clone this repo, and run
npm install
- Copy the
.env.example
file to.env
- Add your configuration values to the
.env
file, this will include your Nexmo credentials. - Run
npm start
in your terminal
- Check out the Developer Documentation at https://developer.nexmo.com
- More information about the Messages API Sandbox: https://developer.nexmo.com/messages/concepts/messages-api-sandbox
If you have any issues, Nexmo's developer support team is here to help you. You can find them on Slack