Twilio connector
Send SMS messages or retrieve message information using the Twilio API
Required inputs
| Key | Label | Type |
|---|---|---|
accountSid | Account SID | FEEL expression |
authentication.username | API key | secret |
authentication.password | API secret | secret |
authentication.password | Authentication token | secret |
messageSid | Message SID | FEEL expression |
body.Body | Message text | FEEL expression |
body.From | From number | FEEL expression |
body.To | To number | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
operationType | Operation type | string |
authType | Authentication type | string |
pageSize | Page size | FEEL expression |
dateSentValue | Date sent | FEEL expression |
dateSentBeforeValue | Date before message was sent | FEEL expression |
dateSentAfterValue | Date after message was sent | FEEL expression |
fromFilterValue | From | FEEL expression |
toFilterValue | To | FEEL expression |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
connectionTimeoutInSeconds | Connection timeout | FEEL expression |
errorExpression | Error expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.Twilio.v1", {
"accountSid": "= ...",
"authentication.username": "<your api key>",
"authentication.password": "<your api secret>",
"authentication.password": "<your authentication token>",
"messageSid": "= ...",
"body.Body": "= ...",
"body.From": "= ...",
"body.To": "= ...",
"operationType": "sendSms",
"authType": "accountSidAuthToken",
})