title | weight |
---|---|
Twilio |
4620 |
This activity allows you to send a SMS via Twilio.
This activity comes out of the box with the Flogo Web UI
flogo add activity github.com/TIBCOSoftware/flogo-contrib/activity/twilio
Inputs and Outputs:
{
"input":[
{
"name": "accountSID",
"type": "string"
},
{
"name": "authToken",
"type": "string"
},
{
"name": "from",
"type": "string"
},
{
"name": "to",
"type": "string"
},
{
"name": "message",
"type": "string"
}
],
"output": []
}
Setting | Required | Description |
---|---|---|
accountSID | False | The Twilio account SID |
authToken | False | The Twilio auth token |
from | False | The Twilio number you are sending the SMS from |
to | False | The number you are sending the SMS to. This field should be in the format '+15555555555' |
message | False | The SMS message |
The below example sends 'my text message' to '617-555-5555' via Twilio:
{
"id": "twilio",
"name": "Send SMS Via Twilio",
"description": "Simple Twilio Activity",
"activity": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/activity/twilio",
"input": {
"accountSID": "A...9",
"authToken": "A...9",
"from": "+12016901385",
"to": "+16175555555",
"message": "my text message"
}
}
}