Skip to content

Twilio Twilio: SMS

Summary

This module contains actions for sending SMS messages using Twilio.

Remember

You must have a Twilio account to use the actions in this plugin.

Actions

twilio.sms.

send_message

Send an SMS using the Twilio SMS API.

Input
  • account_sid: the Twilio account SID

  • auth_token: the Twilio API authentication token for the account

  • send_from: the phone number to send the message from (with country code)

  • send_to: the phone number to send the message to (with country code)

  • message: the message to send

Output

Nothing is outputted by this action.

Example
1
2
3
4
5
6
7
- twilio.sms.send_message:
    message: Hello from PPA!
    send_to: +441234567890
  load:
    account_sid: twilio_account_sid
    auth_token: twilio_auth_token
    send_from:  from_number

Supplying Sensitive Data

You should always use a PPA Vault integration to provide sensitive data to a plugin action.