Engagement Activity in CrowdTwist (Part II)

The following procedure shows how to run an engagement activity (survey) for the member Andy Cole in CrowdTwist and then verify that the activity has been created in CrowdTwist and Siebel Loyalty.

To run an engagement activity in CrowdTwist

  1. Use REST API to run the following engagement activity in CrowdTwist:

    • Get Activity ID Survey. Run to get the survey ID as follows:

      GET {{CTURLForConnection}}/v2/activities?api_key={{CTApiKey}}
    • Create an Activity: Survey. Run to create an activity survey for the specified member to answer as follows:

      POST {{CTURLForConnection}}/v2.1/users/<Member_Number>/survey/{{ActivitySurveyID}}/response?api_key{{CTApiKey}}&id_type=third_party_id

      Enter Andy Cole's member number into the <Member_Number> parameter (296-180296399), save, and then run the survey.

      The following information is returned:

      {
         "survey_responseā€: [
            {
               "question_id: 1,
               "selected_answers": null,
               "text_answer": Yes it is Efficient",
               "other": null
            }
         . . . .
      }
      
      {
         "activity_id": "410106453", 
         "message": "Survey response submitted successfully",
         "total_response": 27,
         "points_awarded": 15
      }
  2. To verify this activity, for the member Andy Cole, in CrowdTwist:

    1. Go to the Member Care screen in the CrowdTwist Control Center application.

    2. Search for and open Andy Cole's member record.

    3. Click Activity Ledger. The activity ledger information returned includes the following information about Andy Cole's recent activity:

      • Name: Survey Answered: vaccine efficiency

      • Points: 15

  3. To verify this activity, for the member Andy Cole, in Siebel Loyalty:

    1. Navigate to the Loyalty Members screen, locate the record for Andy Cole, and drill down on the Member Number link to open the record.

    2. Click Transactions to open the Transactions view, where an accrual transaction has been created with the values shown in the following table.

      Field

      Value

      Transaction Id

      88-2ZCEF4

      Type

      Accrual

      Sub Type

      Manual Credit

      Product Name

      CT Accrual and Adjustments

      CT Activity Type

      Survey Answered: vaccine efficiency.

      CT Activity

      410106453

    3. Under Accrual Items in the Transactions view, note that the Accrued Value is 15 (which means that 15 points were awarded for completing this (survey) activity.