Custom Activity API Script Configuration

Jeremy_Foote_-_
Level 2

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

10 REPLIES 10