Use the OnMobileOriginatedMessage action to handle the System event that occurs when an SMS is received by the application. This action is executed before the SMS is processed by an SMS Flow. As an example, you can design this action to log SMSs that are received by the application.
The action flow of the OnMobileOriginatedMessage action must have the following Assign element at the beginning of the flow:
These parameters are internally instantiated by the OutSystems Platform.
SmsIn. contains the information provided by the SMS Gateway.
Record of the SMSMO Type.
You can access these output parameters like you access the output parameters of any user-defined action. See how to Execute an Action in an Action Flow.
SmsOut. contains the information you want to follow up to the eSpace.
Record of the SMSMO type.
Design SMS Flows | Action Flow Editor | Overview of System Events