Thanks for replying, WoodNick have you got a sample script that processes inbound keywords? I mean I can write a custom js script that queries the insms table and does post-processing, but In this case, I am not sure how this script is expecting us to do the processing? whats the first step?
Script
The script lets you process the message and perform various operations that depend on the content of the message. The script is executed for each message and can determine the operation to be performed on messages (leave or delete the message) and activation of the outbound transition.
The return code must be one of the following values:
- 1 - Deletes the message from the server and activates the outbound transition.
- 2 - Leaves the message on the server and activates the outbound transition.
- 3 - Deletes the message from the server.
- 4 - Leaves the message on the server.
The content of the message is accessible from the global mailMessage variable.