1 Reply Latest reply on Jun 20, 2017 9:27 AM by Sanford Whiteman

    Webhooks and Tokens

      Hi, we are about to start using webhooks to automate our leads through our ms dynamics crm. I am wanting to change variable like task subtype, tasktype etc, without creating a separate webhook for each type. How can I token in those things? Is that possible? Thanks!
      Our webhook looks like this:

       

      {

      "FirstName": {{lead.First Name}},

      "LastName": {{lead.Last Name}},

      "EmailAddress": {{lead.Email Address}},

      "PhoneNumber": {{lead.Phone Number}},

      “Primary IMO”: {{lead.Primary IMO}},

      "ContactID": {{lead.Contact}},

      "SourceEnvironment":"prod",

      "TargetEnvironment":"hub",

      "TaskPriority":"Normal",

      "TaskDueDate":"+2 Business Day",

      "CampaignName": {{campaign.name}},

      "CampaignID":{{campaign.id}},

      "NewContactOwner":"RoundRobin",

      "TaskType":"Annuity",

      "TaskSubtype":"quote",

      "TaskDescription": [

                                   "FirstName",

                                   "LastName",

                                   "EmailAddress",

                                   "PhoneNumber",

                                  “PrimaryIMO”,

                                    "CampaignName"

                                 ]

      }