2014-07-27 21:09:19 +02:00
|
|
|
node-red-node-twilio
|
|
|
|
====================
|
2014-07-15 11:15:34 +02:00
|
|
|
|
|
|
|
A <a href="http://nodered.org" target="_new">Node-RED</a> node to send SMS messages via the <a href="http://twilio.com" target="_new">Twilio</a> service.
|
|
|
|
|
|
|
|
Install
|
|
|
|
-------
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
2014-07-15 11:15:34 +02:00
|
|
|
|
|
|
|
npm install node-red-node-twilio
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
2014-11-26 21:37:54 +01:00
|
|
|
Sends an SMS message or make a voice call using the Twilio service.
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
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.
|
2014-07-15 11:15:34 +02:00
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
`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.
|
2014-07-15 11:15:34 +02:00
|
|
|
|
|
|
|
You must have an account with Twilio to use this node. You can register for one <a href="https://www.twilio.com/">here</a>.
|
|
|
|
|
|
|
|
There is an example of using this node to create a simple IVR <a href="http://flows.nodered.org/flow/637b5f6128a8d423503f" target="_new">here</a>.
|