Using this action in an automation will send a text message to a specified phone number. It's often used for notifications, verifications, or alerts.

AAT is out SMS solutions provider



Below shows the details required for the SMS action



Ensure that the SMS Msisdn field is a variable:  InputData.msisdn.ToString()



This msisdn can we swapped out for 'phone' or 'Phone' or 'customerPhone' depending on the field hosting the customers cellphone number in the payload


Example of the syntax for the Message:


'Dear '+InputData.title.ToString()+' '+InputData.customerName.ToString()+', Your debit order for your OnAir Account was not successful. Call 0861001970 to re-activate your debit order details. In the interim please pay your outstanding amount of R'+InputData.billedAmount.ToString()+' by making an immediate payment today by clicking on the SnapScan link: '+Url1.url.ToString()+' or pay via Banking Details: ABSA Acc Number 4086019863; Branch 632005. Payment will avoid a negative listing on your credit profile. Ref: '+InputData.policyNo.ToString()+'


So to break it down:


The SMS message must have quotations marks around it

'Hello, How are you?'


If you add a variable, you need to close the quotation marks, add the variable with+'s on either side. Then reopened and close the quotation marks for the rest of the message.

'Hello '+InputData.customerName.ToString()+', How are you?'


And you can keep adding variables or content until you are happy with your SMS.

'Hello ' +InputData.customerName.ToString()+' , How are you? Check your policy by clicking '+InputData.policyNo.ToString()+' Have a good day. '


Keep in mind that 1 SMS is equal to 160 characters and going over this limit will split the message into 2 SMS's. 
Note: spaces, comma's and punction marks must be within the quotation marks too.


If you have used/mispelt a field name within a variable, then the action will not be triggered to the customer. Ensure you have used the correct naming convention.