SMS

更新时间:
复制 MD 格式

The SMS node sends SMS messages to target mobile numbers and supports bulk sending. This node is commonly used for timely notifications, such as device monitoring alerts and other critical data.

Prerequisites

To use this node, you must first activate Alibaba Cloud Short Message Service.

Node configuration

On the business logic editor page, select the SMS node from the Node panel to configure your business flow. The parameters are described in the following table.

Parameter Description
Node name The name of the node. The name can contain Chinese characters, letters, digits, and underscores (_), and must be no more than 30 characters long.
Authorization Click Authorization to go to the Resource Access Management (RAM) console and grant the IoT Development Service Platform access to your Alibaba Cloud Short Message Service resources.
Recipient mobile number The mobile numbers that will receive the SMS message. You can enter up to 1,000 numbers, separated by commas.

For international numbers and numbers in the Hong Kong, Macao, and Taiwan regions, use the format: Country/Region Code + Number.

SMS signature You must first create an SMS signature on the SMS Signature page in the Alibaba Cloud Short Message Service console. Only approved signatures can be used.
Template code The code for your SMS template. You must first create an SMS template on the SMS Template page in the Alibaba Cloud Short Message Service console. Only approved templates can be used.
Template variable JSON A JSON object that provides the values for the variables defined in your SMS template.

For example, if your SMS template includes the variables name, room, and time, structure your JSON as follows:

{
  "name":"M***",
  "room":"R1234",
  "time":"yyyy-mm-dd"
}

For instructions, see Apply for an SMS Signature.

For instructions, see Apply for an SMS Template.

Node output

The node output is determined by the variables in your SMS template.