1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/social/twilio/README.md

27 lines
1.1 KiB
Markdown
Raw Normal View History

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
-------
Run the following command in the root directory of your Node-RED install
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.
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
<b>msg.payload</b> is used as the body of the message. The node can be configured with the number
2014-11-26 21:37:54 +01:00
to send the message to. Alternatively, if the number is left blank, it can be set using <b>msg.topic</b>. 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>.