Summary
CreateSmsConversation()
EndSmsConversation()
SetSmsConversationNextKeyword()
Msg()
Noun()
Nouns
Verb
MMS_Content_URL()
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Returns the keyword from a mobile-originated (MO) message. A mobile-originated message is a message sent from the mobile device of a subscriber to your SMS phone number. Compare MO messages to mobile-terminated (MT) messages, which are messages that you send to a subscriber’s mobile device.
You can only use this AMPscript function in MobileConnect. It doesn’t work with email messages, landing pages, or other content types.
Important
| Marketing Cloud Engagement | ✅ Yes |
| Marketing Cloud Next | ❌ No |
1Msg(0).VerbThe Verb function doesn’t accept any parameters. You can only use this function together with Msg().
This function parses a message that was sent to you by a subscriber (an MO message) and returns the keyword.
1%%[
2 Var @incoming_message_verb
3 Set @incoming_message_verb = Msg(0).Verb
4]%%
5
6<p>%%=v(@incoming_message_verb)=%%</p>If the keyword is “OFFER” and an MO message contains the text “OFFER John Smith”, the example code returns “OFFER”.