SMS


The SMS node sends an SMS to the specified mobile numbers. The send results will be output to the metadata and does not affect the flow, i.e. even if the sending of the SMS fails, the flow will still continue.

Node Type

External.

Input and Output Ability

This node has 1 entry point and 1 exit point. Both the input and the output are JSON.

Node Properties

../../_images/sms.png


Name

The name for this node.


Mobile Number

The mobile number to send the SMS to. Select the country code and enter the mobile number.


Click + Add Number to send to multiple recipients.


Template Name

The name of the SMS template. The templates currently available are the Notify DIS Event and Notify DIS Alarm templates. Hover the mouse over the template name to view its contents.

  • Notify DIS Event
    • Event Name: The event name to be used in the template. Expressions can be used.
    • Event Details: The event details to be used in the template. Expressions can be used.
  • Notify DIS Alarm
    • Alarm Name: The alarm name to be used in the template. Expressions can be used.
    • Alarm Details: The alarm details to be used in the template. Expressions can be used.


Description

The description for this node.

Limitations

  • Total maximum number of characters for Event Name and Event Details
    • China: 70 characters
    • Outside China: 140-160 characters

Samples

Input Sample

{
    "assetId": "abc",
    "timestamp": 24214324324,
    "measurepoints":{
        "temperature": 22.4,
        "humidity": 78
    }
}

Output Sample

{
    "MetaData": {
        "result": "execution succeed"
    },
    "Body": {
        "assetId": "abc",
        "timestamp": 24214324324,
        "measurepoints":{
            "temperature": 22.4,
            "humidity": 78
        }
    }
}