Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including node-red-node-twilio with all npm packages installed. Try it out:

node-red-node-twilio lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-red-node-twilio/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-red-node-twilio v0.1.0

A Node-RED node to send SMS messages via the Twilio service.

node-red-node-twilio

A Node-RED node to send SMS messages via the Twilio service.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-node-twilio

Usage

Sends an SMS message or make a voice call using the Twilio service.

The Twilio out node is configured to send SMS or make call, depending on the option selected you enter the phone number or phone number and a URL to create the TWiML response file.

msg.payload is used as the body of the message. The node can be configured with the number to send the message to. Alternatively, if the number is left blank, it can be set using msg.topic. The payload can also be the URL to create the TWiML response file.

You must have an account with Twilio to use this node. You can register for one here.

There is an example of using this node to create a simple IVR here.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free