/

Twilio SMS Communication

Usage and Configuration Options for the Twilio SMS Plugin


You can send SMS with arbitrary providers through Unchained's work system. To add a new SMS to the system, you can use the addWork mutation:

addWork(type: SMS, input: {
  to: "<number>",
  text: "<text>"
}) {
  _id
}

The twilio module automatically picks up any work items with type SMS and sends them for you.

Configuration

Environment variables

NAMEDescription
TWILIO_ACCOUNT_SID
TWILIO_AUTH_TOKEN
TWILIO_SMS_FROMNumber that the SMS is sent from. Needs to correspond to a number in your Twilio account
Edit on GitHub