5 Replies Latest reply on Jan 25, 2017 11:56 AM by 4da47795b329bffdccc8f5fd17aa66b718ae0f8e

    Custom Activity API Script Configuration

      We're attempting to track whenever a lead logs into our SaaS product.

      We thought we had the configuration accurate, but keep receiving "skipped" as a response.

      The Custom Activity has been approved.

      Is the Scripting below accurate? The primaryAttributeValue throws us for a loop.

       

      Custom Activity Values:

      100009

      Logged Into CMP

      loggedIntoCMP_c

       

        Approved

       

      Logged Into CMP

      Logs Into CMP


      Field Settings:
      Name: CMP Logged In

      API Name: cMPLoggedIn

      Data Type: String

       

      Script:

      {

      "input":[

      {    

      "leadId":509,

      "activityDate":"2017-01-24T12:30:00-08:00",

      "activityTypeId":100009,

      "primaryAttributeValue":"loggedIntoCMP_c",

      "attributes":[

      {

      "name": "cMPLoggedIn",

      "value": "True"

      }

      ]

      },

       

      Thanks,

      JFoote