Create an account on Twilio (you’ll need to verify a mobile number to proceed). In order to create a SMS service you have to buy a Twilio phone number (any country is fine).

Twilio sends notification of incoming messages with a callback, use ngrok to expose your development instance of Node-RED to a public address, open a Terminal window and

ngrok http localhost:1880

You should get something like this

example-twilio-1.png

The address https://.nkrok.io* is the public URL that points back to your development machine.

First go to the Messaging services section, create a new service and pick up “Chatbot/Interactive 2-way” from the drop down menu. Associate the Twilio number to this new service

Associate number

Associate number

Then check the “Process inbound message” and fill it using the ngrok address from the Terminal window, it should be something like

Associate number

Associate number

Now switch to RedBot and create a connection for the Twilio Sender node: the Accound SID and Auth Token will be requested, you’ll find both in the Twilio’s Dashboard

example-twilio-4.png