If you need to add custom text to a SMS Notification and completely remove the default text
By default, Iotplus includes the triggering sensor ID, Notification subject, and Network ID in the SMS message content of SMS messages. If you need to completely replace the default content and only include custom text in your SMS message, this article will provide details on doing this.
The Default message
The default message will include:
- Triggering Device Type
- Triggering Device Name
- Action Name
- Action text
- Network Name
Adding custom text
The default message will always be included, unless the message includes a user-added Text Override Value. The Text Override Values are associated with default objects; therefore if you want to add your own text, you would do the following:
In this example, the text TEST_TEST is desired to be delivered to the user via SMS.
- Add the desired custom text in the Subject field of the Action.
- Enter the Text Override Value descriptor {Subject} in the Message field of the Action.
- Click Save.
When the Action is triggered, the descriptor {Subject} in the Message field will be replaced with the custom text in the Subject field, and only this text will be included in the SMS message.
Conclusion
This can be useful in scenarios where specific codes are desired to be delivered via SMS such as IP devices that can receive commands via SMS and execute actions in the real world. Feel free to contact info@Iotplus.com.au with related inquiries.