AMPscript SMS Functions
Use the SMS AMPscript functions to manage SMS conversations with your contacts.
This table lists all of the AMPscript functions related to SMS messaging. The value in the Engagement column indicates whether Marketing Cloud Engagement supports the function. The value in the Next column indicates whether Marketing Cloud Next supports the function.
| Function Name | Description | Engagement | Next |
|---|---|---|---|
| CreateSmsConversation() | Creates an SMS conversation. | ✅ Yes | ❌ No |
| EndSmsConversation() | End an active SMS conversation. | ✅ Yes | ❌ No |
| SetSmsConversationNextKeyword() | Sets the keyword in an SMS conversation. | ✅ Yes | ❌ No |
| Msg() | Returns the body of an incoming message. | ✅ Yes | ❌ No |
| Noun() | Returns a word from an incoming message based on its position. | ✅ Yes | ❌ No |
| Nouns | Returns all of the message content after the keyword in an incoming message. | ✅ Yes | ❌ No |
| Verb | Returns the keyword from an incoming message. | ✅ Yes | ❌ No |
| MMS_Content_URL() | Returns the URL of a content item from an inbound MMS message. | ✅ Yes | ❌ No |