SMS Secret Word Scenario Guide

From $1

    This guide contains scenario, conceptual, and procedural information on using SMS messages as part of a game to increase customer engagement with your product or service.  Participants in the game send keywords via an MO SMS message to your short code, and those who send in the correct keyword receive additional information regarding the game, such as the location of a special event.

    SMS Messages

    This page makes frequent reference to the creation and use of SMS messages. Please refer to the SMS Messages section for more information on creating and sending SMS messages.

    Tools and Prerequisites

    To execute the scenario in this guide, you must have the SMS feature enabled on your account. Contact ExactTarget for more information on enabling SMS messaging for your ExactTarget account.

    Scenario

    Northern Trail Outfitters is hosting a special invitation-only reception for interested customers to showcase their new line of athletic shoes. These customers must go into a Northern Trail Outfitters location and ask for the secret word. Once they receive the word, the customer sends an SMS message to the Northern Trail Outfitters short code with that word. Northern Trail Outfitters uses ExactTarget to send an SMS message in response to the MO message, either with the address of the reception or an error message.

    SecretWordAMPscript.png

    How to Create the SMS Secret Word AMPscript

    This block of AMPscript compares the keyword contained in the MO SMS message to a given word and sets the @msg variable to the appropriate response. The @msg variable is then used to send an MT message to the MO user. For example, the secret word in this case is PARTY, and MO users sending in that word will receive the MT response "Downtown Luxury Hotel, 7pm, 5/20." Any other response will trigger an MT response stating "We're sorry, that's incorrect."

    %%[ Var @msg
    if (Uppercase([MSG(0).NOUN(0)]) == "PARTY") then
    Set @msg = "Downtown Luxury Hotel, 7pm, May 2"
    else
    Set @msg = "We're sorry, that's incorrect"
    endif ]%%
    %%= v(@msg) =%%

    How to Create the SMS Secret Word MO Keyword

    The next step is to create the SMS MO Keyword with the appropriate values. Enter the information below in the appropriate fields, and leave all others blank.

    • Name: Secret Word
    • Verb: Party
    • Type: Send SMS
    • Message: Copy and paste in the AMPscript from this example.

    This page was last updated by Ryan Williams on Tue, 02 Aug 2011 12:15:45 GMT.

    If you require assistance with the ExactTarget application, please contact Global Support. If you wish to send Ryan direct feedback, fill out the form below:

     


    Was This Page Helpful?
    Suggestions or Comments:
    Name (optional):
    Email Address (optional):
    Enter 17625 backwards:
       
    Tags: (Edit tags)
    • No tags
    FileSizeDateAttached by 
    SecretWordAMPscript.png
    No description
    23.43 kB08:15, 2 Aug 2011AdminActions
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch 2010
    Admin