Send Twilio SMS on button click?

want to send an SMS when button is clicked. doable? if so, how? manual only refers to SMS as part of the Alarm pipeline process. i want to send a packaged message when a button is clicked/pressed.

i've tried just importing the twilio.rest client:

import os
from twilio.rest import Client
# ... basic twilio boilerplate ...

but Designer burps out an error:

ImportError: No module named twilio

so is this not a doable thing? i mean everything should be there. we're already sending SMS through the Alarm pipeline. what am i missing?

https://docs.inductiveautomation.com/display/DOC81/system.twilio.sendSms

1 Like

oh wow. that didn't even come up when i searched for Twilio. just the alarm information. thank you.

morons were using a Trial account on Twilio... SMH. once that was sorted, it sailed along nicely.