Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Name. The display name of the node.

  • Phone. Comma-separated phone number values that accept string values only. This can also be accessed by mustache {} template from the Message object. Provide phone numbers in ITU-T E.164 format that has ‘+’ followed by ISD code, AREA code, and phone number.
    For example, +13156607630

  • Message. Plain text message that can directly be entered or accessed by mustache {} template from Message object.
    Below the message field is the Message Segment properties of the SMS message. You can now see the number of Unicode scalars used, number of characters typed, number of segments used, Encoding used, Message size, and Total size of the message. Refer to Twilio documentation on a segment for a detailed explanation.

Sample for Phone

  • +1617xxxxxxx

  • +1617xxxxxxx, +1617xxxxxxx

  • {{msg.payload.phone}}

Sample for message

  • Hi, this is the message

  • {{msg.payload.message}}

Sample payload function

Code Block
var message = "Hi, this is a test message from Amazon SNS";
var phone = "+1632xxxxxxxx, +134xxxxxxxx";
if(!msg.payload) {
 msg.payload = {};
}
msg.payload.message = message;
msg.payload.phone = phone;
return msg;

...