sms
The sms
reply type is used for sending SMS messages to the specified phone number.
Learn more about sending SMS messages from the script
Properties
Property | Type | Required | Description |
---|---|---|---|
text |
String | Yes | Message content |
destination |
String | Yes | Destination phone number |
providerConfiguration |
Object | No | Provider configuration |
SMS messages can only be sent to phone numbers registered in Russia. The phone number specified in the destination
property must begin with 7
.
The providerConfiguration
object should have the following fields.
Field | Type | Description |
---|---|---|
type |
String | Provider |
nodeId |
String | Node ID |
password |
String | Password |
source |
String | SMS sender ID |
Syntax
{
"type": "sms",
"text": "Today only, 10% off all JAICP business plans!",
"destination": "79123456789",
"providerConfiguration": {
"type": "I_DIGITAL",
"nodeId": "12345",
"password": "Qwerty",
"source": "JustAI"
},
}
Channel restrictions
sms
is not supported in the following channels:
- edna.chatCenter
- Google Assistant
- Slack