/plushcap/analysis/vonage/vonage-sms-bot-glitch-hapi-js-nexmo-messages-api-dr

Build an SMS Bot on Glitch with Hapi.js and the Nexmo Messages API

What's this blog post about?

This tutorial guides developers through building a simple bot on Glitch that can provide random facts about numbers using the Nexmo Messages API and NumbersAPI. The bot is built using Hapi.js, a Node.js framework, and utilizes a virtual phone number to send and receive SMS messages. The bot's functionality includes receiving inbound SMS messages, processing the message content, and sending a response with a random fact from NumbersAPI if the content is a whole number. The code demonstrates how to integrate Nexmo's Messages API and Hapi.js into a Glitch project, allowing developers to build their own custom bots using these APIs.

Company
Vonage

Date published
May 10, 2021

Author(s)
Hui Jing Chen

Word count
1716

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.