I was trying to trigger a specific MobileConnect text response keyword which should update a Data extension. When I add some ampscript to the outbound response, I get an error saying "There was an error processing your message".
Any ideas?
%%[
Var @message
if (Uppercase(MSG(0).VERB) == "LATER") then
Set @message = "Thank you"
InsertData('Mobile_Response', 'MobileNumber', MOBILE_NUMBER, 'Keyword', "LATER", 'Response', MSG(0).NOUNS)
else
Set @message = "Sorry"
endif
]%%
%%=v(@message)=%%